WordPress.org

Ready to get started?Download WordPress

Codex

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

Difference between revisions of "Function Reference/merge filters"

(Move stub to bottom, remove new page created)
(Using Parameter template)
Line 6: Line 6:
   
 
== Parameters ==
 
== Parameters ==
+
{{Parameter|$tag|string|The filter hook of which the functions should be merged.}}
; <tt>$tag</tt> : (''string'') The filter hook of which the functions should be merged.
 
   
 
{{Stub}}
 
{{Stub}}

Revision as of 02:57, 13 January 2008

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.

Parameters

$tag
(string) (required) The filter hook of which the functions should be merged.
Default: None
This page is marked as incomplete. You can help Codex by expanding it.