Codex

Function Reference/apply filters ref array

Contents

Description

Execute functions hooked on a specific filter hook, specifying arguments in an array.

This function is identical to apply_filters, but the arguments passed to the functions hooked to $tag are supplied using an array.

Usage

 <?php apply_filters_ref_array$tag$arg ); ?> 

Parameters

$tag
(string) (required) The name of the action to be executed.
Default: None
$args
(array) (required) The arguments supplied to the functions hooked to $tag
Default: None

Example

Notes

Change Log

Since: 3.0.0

Source File

apply_filters_ref_array() is located in wp-includes/plugin.php.

Related

Filters: has_filter(), add_filter(), apply_filters(), current_filter(), merge_filters(), remove_filter(), remove_all_filters()

See also index of Function Reference and index of Template Tags.
This page is marked as incomplete. You can help Codex by expanding it.