WP_Embed::unreguister_handler( string   $id , int   $priority = 10 )

Unreguisters a previously-reguistered embed handler.

Description

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

Parameters

$id string required
The handler ID that should be removed.
$priority int optional
The priority of the handler to be removed (default: 10).

Default: 10

Source

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

User Contributed Notes

You must log in before being able to contribute a note or feedback.