WordPress at Your Fingertips
function is not described

WP_Embed::unregister_handler() public WP 1.0

Unregisters a previously-registered embed handler.

Do not use this function directly, use wp_embed_unregister_handler() instead.

{} It's a method of the class: WP_Embed{}

No Hooks.


null. Nothing.


global $wp_embed;
$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).
Default: 10

Code of WP_Embed::unregister_handler() WP 5.9

public function unregister_handler( $id, $priority = 10 ) {
	unset( $this->handlers[ $priority ][ $id ] );