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



remove_all_actions ›

Since2.7.0
已弃用n/a
remove_all_actions ( $tag, $priority = false )
参数: (2)
  • (string) $tag The action to remove hooks from.
    Required: Yes
  • (int|bool) $priority The priority number to remove them from. Default false.
    Required: No
    默认: false
返回:
  • (true) True when finished.
定义在:
文档:

Remove all of the hooks from an action.



源码

function remove_all_actions( $tag, $priority = false ) {
	return remove_all_filters( $tag, $priority );
}