WordPress at a glance
function is not described

delete_site_option() WP 2.8.0

Removes a option by name for the current network.

  • See: delete_network_option()
  • Since 4.4.0 Modified into wrapper for delete_network_option()

No Hooks.


true/false. True, if succeed. False, if failure.


delete_site_option( $option );
$option(string) (required)
Name of option to remove. Expected to not be SQL-escaped.

Code of delete site option: wp-includes/option.php WP 5.2.2

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