WP_Embed::unregister_handler

SummerySummery

Unregisters a previously-registered embed handler.

Syntax

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

DescriptionDescription

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

ParametersParameters

$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

SourceSource

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


			
Scroll to Top