WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/merge filters

Contents

Description

!!! THIS FUNCTION DOES NOT EXISTS ANYMORE !!!

Old documentation :

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 hook 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: 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.