apply_filters( 'pre_update_option', mixed $value, string $option, mixed $old_value )

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


Parameters

$value

The new, unserialized option value.

$option

Name of the option.

$old_value

The old option value.


Source

File: wp-includes/option.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.9.0 Introduced.