pre_update_site_option_{$option}

pre_update_site_option_{$option}

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

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

  • /wp-includes/option.php line 2126
    	 * @param mixed  $old_value  Old value of the network option.
    	 * @param string $option     Option name.
    	 * @param int    $network_id ID of the network.
    	 */
    	$value = apply_filters( "pre_update_site_option_{$option}", $value, $old_value, $option, $network_id );
    
    	/*
    	 * If the new and old values are the same, no need to update.
    	 *
    	 * Unserialized values will be adequate in most cases. If the unserialized
    	 * data differs, the (maybe) serialized data is checked to avoid