apply_filters

Plugin-related functions

Summary

apply_filters(string|array $name, mixed $value, array $args = Array)

Apply a set of plugin filters to a given value.

Parameters:
  • $name (string|array) – The filter name.
  • $value (mixed) – The value to filter.
  • $args (array) – Additional arguments to pass to filter implementations.
Returns:

mixed Result of applying filters to $value.

Usage

Examples

See Also

Project Versions

Table Of Contents

Previous topic

add_plugin_hook

Next topic

clear_filters

This Page