Un motore di ricerca WordPress per sviluppatori e autori di temi



update_site_option ›

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

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