delete_site_option( string $option )

Removes a option by name for the current network.


Description Description

See also See also


Top ↑

Parameters Parameters

$option

(string) (Required) Name of option to remove. Expected to not be SQL-escaped.


Top ↑

Return Return

(bool) True, if succeed. False, if failure.


Top ↑

Source Source

File: wp-includes/option.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Modified into wrapper for delete_network_option()
2.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.