option_{$option}

Advertisement

Summery Summery

Filters the value of an existing option.

Syntax Syntax

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

Description Description

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

Parameters Parameters

$value

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

$option

Option name.

Source Source

File: wp-includes/option.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 The $option parameter was added.
3.0.0
1.5.0 Introduced.

Advertisement

Leave a Reply