Codex

Function Reference/merge filters

Contents

Description

Merge the filter functions of a specific filter hook with generic filter functions.

It is possible to defined generic filter functions using the filter hook all. These functions are called for every filter tag. This function merges the functions attached to the all hook with the functions of a specific hoook defined by $tag.

Usage

 <?php merge_filters($tag); ?> 

Parameters

$tag
(string) (required) The filter hook of which the functions should be merged.
Default: None

Examples

Notes

Change Log

Since: ?

Source File

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

Related

Filters: add_filter, has_filters, apply_filters, remove_filter, remove_all_filters, current_filter, merge_filters

See also index of Function Reference and index of Template Tags.