WordPress at a glance
function is not described

wp_embed_unregister_handler() WP 2.9.0

Unregisters a previously-registered embed handler.

  • Global. WP_Embed. $wp_embed

No Hooks.


Nothing (null).


wp_embed_unregister_handler( $id, $priority );
$id(string) (required)
The handler ID that should be removed.
The priority of the handler to be removed.
Default: 10

Code of wp embed unregister handler: wp-includes/embed.php WP 5.2.2

function wp_embed_unregister_handler( $id, $priority = 10 ) {
	global $wp_embed;
	$wp_embed->unregister_handler( $id, $priority );