update_option

update_option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('update_option') is found 1 times:

  • /wp-includes/option.php line 935
    	 * @param string $option    Name of the option to update.
    	 * @param mixed  $old_value The old option value.
    	 * @param mixed  $value     The new option value.
    	 */
    	do_action( 'update_option', $option, $old_value, $value );
    
    	$update_args = array(
    		'option_value' => $serialized_value,
    	);
    
    	if ( null !== $autoload ) {
    

See this hook used in plugins: