wpseek.com
WordPress开发者和主题制作者的搜索引擎



update_site_option › WordPress Function

Since2.8.0
已弃用n/a
update_site_option ( $option, $value )
参数: (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
查看:
返回:
  • (bool) True if the value was updated, false otherwise.
定义在:
文档:
Change Log:
  • 4.4.0

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



源码

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