WordPress at a glance
function is not described

wp_embed_unregister_handler() WP 2.9.0

Unregisters a previously-registered embed handler.

No Hooks.

Return

null. Nothing.

Usage

wp_embed_unregister_handler( $id, $priority );
$id(string) (required)
The handler ID that should be removed.
$priority(int)
The priority of the handler to be removed.
Default: 10

Notes

  • Global. WP_Embed. $wp_embed

Changelog

Since 2.9.0 Introduced.

Code of wp_embed_unregister_handler() WP 5.7.2

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