On this page
do_action( "update_option_{$option}", mixed $old_value, mixed $value, string $option )
Fires after the value of a specific option has been successfully updated.
Description
The dynamic portion of the hook name, $option, refers to the option name.
Parameters
$old_valuemixed-
The old option value.
$valuemixed-
The new option value.
$optionstring-
Option name.
Source
File: wp-includes/option.php. View all references
do_action( "update_option_{$option}", $old_value, $value, $option );
Related
Used By
| Used By | Description |
|---|---|
| update_option() wp-includes/option.php | Updates the value of an option that was already added. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/update_option_option