apply_filters( "option_{$option}", mixed $value, string $option )

Filters the value of an existing option.


Description

The dynamic portion of the hook name, $option, refers to the option name.


Parameters

$value

(mixed) Value of the option. If stored serialized, it will be unserialized prior to being returned.

$option

(string) Option name.


Source

File: wp-includes/option.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 The $option parameter was added.
WP-3.0.0
WP-1.5.0 Introduced. As 'option_' . $setting