wpseek.com
A WordPress-centric search engine for devs and theme authors



update_site_option › WordPress Function

Since2.8.0
Deprecatedn/a
update_site_option ( $option, $value )
Parameters: (2)
  • (string) $option Name of the option. Expected to not be SQL-escaped.
    Required: Yes
  • (mixed) $value Option value. Expected to not be SQL-escaped.
    Required: Yes
See:
Returns:
  • (bool) True if the value was updated, false otherwise.
Defined at:
Codex:
Change Log:
  • 4.4.0

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



Source

function update_site_option( $option, $value ) {
	return update_network_option( null, $option, $value );
}