wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



update_site_option › WordPress Function

Da2.8.0
Deprecaton/a
update_site_option ( $option, $value )
Parametri: (2)
  • (string) $option Name of the option. Expected to not be SQL-escaped.
    Richiesto:
  • (mixed) $value Option value. Expected to not be SQL-escaped.
    Richiesto:
Vedi:
Ritorna:
  • (bool) True if the value was updated, false otherwise.
Definito a:
Codex:
ChangeLog:
  • 4.4.0

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



Sorgenti

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