wp_embed_unregister_handler( string $id, int $priority = 10 )
Unregisters a previously-registered embed handler.
Parameters
- $id
-
(Required) The handler ID that should be removed.
- $priority
-
(Optional) The priority of the handler to be removed.
Default value: 10
Source
File: wp-includes/embed.php
function wp_embed_unregister_handler( $id, $priority = 10 ) {
global $wp_embed;
$wp_embed->unregister_handler( $id, $priority );
}
Changelog
Version | Description |
---|---|
WP-2.9.0 | Introduced. |