apply_filters_ref_array() WP 1.0
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( $tag, $args );
- $tag(string) (required)
- The name of the filter hook.
- $args(array) (required)
- The arguments supplied to the functions hooked to $tag.
Notes
- See: apply_filters() This function is identical, but the arguments passed to the
functions hooked to $tag are 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. |