apply_filters — Apply a set of plugin filters to a given value.

Plugin-related functions

Summary

apply_filters($name, $value, $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