update_site_option( string $option, mixed $value )
Update the value of an option that was already added for the current network.
Description
See also
Parameters
- $option
-
(Required) Name of option. Expected to not be SQL-escaped.
- $value
-
(Required) Option value. Expected to not be SQL-escaped.
Return
(bool) False if value was not updated. True if value was updated.
Source
File: wp-includes/option.php
function update_site_option( $option, $value ) {
return update_network_option( null, $option, $value );
}
Changelog
Version | Description |
---|---|
WP-4.4.0 | Modified into wrapper for update_network_option() |
WP-2.8.0 | Introduced. |