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

Unregisters a previously-registered embed handler.


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

Top ↑


$id string Required
The handler ID that should be removed.
$priority int Optional
The priority of the handler to be removed (default: 10).

Default: 10

Top ↑


File: wp-includes/class-wp-embed.php. View all references

public function unregister_handler( $id, $priority = 10 ) {
	unset( $this->handlers[ $priority ][ $id ] );

Top ↑

User Contributed Notes

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