A WordPress-centric search engine for devs and theme authors



update_site_option ›

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

Update 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 );
}