WP_Embed::unregister_handler

Advertisement

Summery Summery

Unregisters a previously-registered embed handler.

Syntax Syntax

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

Description Description

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

Parameters 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 value: 10

Source Source

File: wp-includes/class-wp-embed.php

	 * @param int    $priority Optional. The priority of the handler to be removed (default: 10).
	 */
	public function unregister_handler( $id, $priority = 10 ) {

Advertisement

Advertisement

Leave a Reply

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