A WordPress-centric search engine for devs and theme authors



delete_site_option ›

Since2.8.0
Deprecatedn/a
delete_site_option ( $option )
Parameters:
  • (string) $option Name of option to remove. Expected to not be SQL-escaped.
    Required: Yes
See:
Returns:
  • (bool) True, if succeed. False, if failure.
Defined at:
Codex:
Change Log:
  • 4.4.0

Removes a option by name for the current network.



Source

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