Advertisements

wp_embed_register_handler

Definition:
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.

Parameters

  • $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 );

}

3629

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: