update_option

update_option

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

See hook in core

Displaying hooks found in version: wordpress-6.5.4

do_action('update_option') is found 1 times:

  • /wp-includes/option.php line 823
    	 * @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: