wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



update_site_option › WordPress Function

Desde2.8.0
Obsoleton/a
update_site_option ( $option, $value )
Parâmetros: (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
Ver:
Retorna:
  • (bool) True if the value was updated, false otherwise.
Definido em:
Codex:
Log de mudanças:
  • 4.4.0

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



Fonte

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