WordPress at a glance
function is not described

delete_site_option() WP 2.8.0

Removes a option by name for the current network.

No Hooks.

Return

true/false. True if the option was deleted, false otherwise.

Usage

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

Notes

  • See: delete_network_option()

Changelog

Since 2.8.0 Introduced.
Since 4.4.0 Modified into wrapper for delete_network_option()

Code of delete_site_option() WP 5.5.1

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