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



delete_site_option › WordPress Function

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

Removes an option by name for the current network.



源码

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