wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_embed_unregister_handler › WordPress Function

Since2.9.0
Deprecatedn/a
wp_embed_unregister_handler ( $id, $priority = 10 )
Parameters: (2)
  • (string) $id The handler ID that should be removed.
    Required: Yes
  • (int) $priority Optional. The priority of the handler to be removed. Default 10.
    Required: No
    Default: 10
Defined at:
Codex:

Unregisters a previously-registered embed handler.



Source

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