wordpress / latest / hooks / updated_option.html

do_action( 'updated_option', string $option, mixed $old_value, mixed $value )

Fires after the value of an option has been successfully updated.

Parameters

$option string
Name of the updated option.
$old_value mixed
The old option value.
$value mixed
The new option value.

Source

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

do_action( 'updated_option', $option, $old_value, $value );

Used By

Used By Description

Changelog

Version Description
2.9.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/updated_option