GC_Embed::unregister_handler()
最后更新于:2021-11-27 14:41:47
GC_Embed::unregister_handler( string$id, int$priority=10)Unregisters a previously-registered embed handler.
参数
- $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
源文件
文件: gc-includes/class-gc-embed.php
public function unregister_handler( $id, $priority = 10 ) {
unset( $this->handlers[ $priority ][ $id ] );
}