wp_embed_unregister_handler

Advertisement

Summery Summery

Unregisters a previously-registered embed handler.

Syntax Syntax

wp_embed_unregister_handler( string $id, int $priority = 10 )

Parameters Parameters

$id

(string) (Required) The handler ID that should be removed.

$priority

(int) (Optional) The priority of the handler to be removed.

Default value: 10

Source Source

File: wp-includes/embed.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.