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

February 12, 2011 


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