function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {}

Register an embed handler. This function should probably only be used for sites that do not support oEmbed.


  • $id
  • $regex
  • $callback
  • $priority

Source code

function wp_embed_register_handler( $id, $regex, $callback, $priority = 10 ) {

	global $wp_embed;

	$wp_embed->register_handler( $id, $regex, $callback, $priority );



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: