pre_update_option_{$option}

pre_update_option_{$option}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('pre_update_option_{$option}') is found 1 times:

  • /wp-includes/option.php line 893
    	 * @param mixed  $value     The new, unserialized option value.
    	 * @param mixed  $old_value The old option value.
    	 * @param string $option    Option name.
    	 */
    	$value = apply_filters( "pre_update_option_{$option}", $value, $old_value, $option );
    
    	/**
    	 * Filters an option before its value is (maybe) serialized and updated.
    	 *
    	 * @since 3.9.0
    	 *