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 mixed
The new, unserialized option value.
$option string
Name of the option.
$old_value mixed
The old option value.

Top ↑

Source

File: wp-includes/option.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.9.0 Introduced.

Top ↑

User Contributed Notes

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