apply_filters( ‘pre_update_option’, mixed $value, string $option, mixed $old_value )

In this article

Filters an option before its value is (maybe) serialized and updated.

Parameters

$valuemixed
The new, unserialized option value.
$optionstring
Name of the option.
$old_valuemixed
The old option value.

Source

$value = apply_filters( 'pre_update_option', $value, $option, $old_value );

Changelog

VersionDescription
3.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.