apply_filters_ref_array()
Execute functions hooked on a specific filter hook, specifying arguments in an array.
No Hooks.
Return
Mixed
. The filtered value after all hooked functions are applied to it.
Usage
apply_filters_ref_array( $hook_name, $args );
- $hook_name(string) (required)
- The name of the filter hook.
- $args(array) (required)
- The arguments supplied to the functions hooked to (hook_name).
Notes
- See: apply_filters() This function is identical, but the arguments passed to the
functions hooked to (hook_name) supplied using an array. - Global. WP_Hook[]. $wp_filter Stores all of the filters and actions.
- Global. String[]. $wp_current_filter Stores the list of current filters with the current one last.
Changelog
Since 3.0.0 | Introduced. |