On this page
do_action( 'updated_option', string $option, mixed $old_value, mixed $value )
Fires after the value of an option has been successfully updated.
Parameters
$optionstring-
Name of the updated option.
$old_valuemixed-
The old option value.
$valuemixed-
The new option value.
Source
File: wp-includes/option.php. View all references
do_action( 'updated_option', $option, $old_value, $value );
Related
Used By
| Used By | Description |
|---|---|
| update_option() wp-includes/option.php | Updates the value of an option that was already added. |
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