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



_wp_call_all_hook › WordPress Function

Since2.5.0
已弃用n/a
_wp_call_all_hook ( $args )
访问:
  • private
参数:
  • (array) $args The collected parameters from the hook that was called.
    Required: Yes
定义在:
文档:

Calls the 'all' hook, which will process the functions hooked into it.

The 'all' hook passes all of the arguments or parameters that were used for the hook, which this function was called for. This function is used internally for apply_filters(), do_action(), and do_action_ref_array() and is not meant to be used from outside those functions. This function does not check for the existence of the all hook, so it will fail unless the all hook exists prior to this function call.


源码

function _wp_call_all_hook( $args ) {
	global $wp_filter;

	$wp_filter['all']->do_all_hook( $args );
}