Unregisters a previously-registered embed handler.
Parameters
$id
stringrequired- The handler ID that should be removed.
$priority
intoptional- The priority of the handler to be removed.
Default:
10
Source
function wp_embed_unregister_handler( $id, $priority = 10 ) {
global $wp_embed;
$wp_embed->unregister_handler( $id, $priority );
}
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.