W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
2.9.0 Introduced.

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