updated_option action-hook . WP 2.9.0
Fires after the value of an option has been successfully updated.
Usage
add_action( 'updated_option', 'action_function_name_4336', 10, 3 ); function action_function_name_4336( $option, $old_value, $value ){ // action... }
- $option(string)
- Name of the updated option.
- $old_value(mixed)
- The old option value.
- $value(mixed)
- The new option value.
Changelog
Since 2.9.0 | Introduced. |
Where the hook is called
updated_option
wp-includes/option.php 486
do_action( 'updated_option', $option, $old_value, $value );