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



delete_site_option ›

Since2.8.0
已弃用n/a
delete_site_option ( $option )
参数:
  • (string) $option Name of option to remove. Expected to not be SQL-escaped.
    Required: Yes
查看:
返回:
  • (bool) True, if succeed. False, if failure.
定义在:
文档:
Change Log:
  • 4.4.0

Removes a option by name for the current network.



源码

function delete_site_option( $option ) {
	return delete_network_option( null, $option );
}