wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_embed_unregister_handler › WordPress Function

Depuis2.9.0
Dépréciéen/a
wp_embed_unregister_handler ( $id, $priority = 10 )
Paramètres: (2)
  • (string) $id The handler ID that should be removed.
    Requis: Oui
  • (int) $priority Optional. The priority of the handler to be removed. Default 10.
    Requis: Non
    Défaut: 10
Défini(e) dans:
Codex:

Unregisters a previously-registered embed handler.



Source

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