WordPress开发者和主题制作者的搜索引擎



wp_embed_unregister_handler ›

Since2.9.0
已弃用n/a
wp_embed_unregister_handler ( $id, $priority = 10 )
参数: (2)
  • (string) $id The handler ID that should be removed.
    Required: Yes
  • (int) $priority Optional. The priority of the handler to be removed. Default 10.
    Required: No
    默认: 10
定义在:
文档:

Unregisters a previously-registered embed handler.



源码

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