update_site_option() – Update the value of an option that was already added for the current network.

You appear to be a bot. Output may be restricted

Description

Updates the value of an option that was already added for the current network.

Usage

$bool = update_site_option( $option, $value );

Parameters

$option
( string ) required – Name of the option. Expected to not be SQL-escaped.
$value
( mixed ) required – Option value. Expected to not be SQL-escaped.

Returns

bool True if the value was updated, false otherwise.

Source

File name: wordpress/wp-includes/option.php
Lines:

1 to 3 of 3
function update_site_option( $option, $value ) {
  return update_network_option( null, $option, $value );
}
 

 View on GitHub View on Trac