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

Unregisters a previously-registered embed handler.


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


Top ↑

Source Source

File: wp-includes/embed.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.