Omeka
Tutorials
What’s new in Omeka 2.0
Plugin Basics
Essential Classes in Omeka
The Admin Theme
Modifying Themes
International Locale Support
User-Submitted Recipes
Extending Omeka’s Standard Plugins
Reference
Omeka 2.1 API
Global (Theming) Functions
Hooks
Filters
Models
View Helpers
Controllers
Class Library by Package
Class Library by Path
Omeka
Docs
»
Reference
»
Global (Theming) Functions
»
Global Functions
»
Plugin-related functions
»
add_filter
Edit on GitHub
add_filter
¶
Plugin-related functions
Summary
¶
add_filter
(
string|array $name
,
callback $callback
,
integer $priority = 10
)
¶
Declare a filter implementation.
Parameters:
$name
(
string|array
) – The filter name.
$callback
(
callback
) – The function to call.
$priority
(
integer
) – Defaults to 10.
Usage
¶
Examples
¶
See Also
¶
Read the Docs
v: stable-2.1
Versions
latest
stable-2.2
stable-2.1
stable-2.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.