delete_site_option

Advertisement

Summery Summery

Removes a option by name for the current network.

Syntax Syntax

delete_site_option( string $option )

Parameters Parameters

$option

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

Return Return

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

Source Source

File: wp-includes/option.php

	$user_id = get_current_user_id();
	if ( ! $user_id ) {

Advertisement

Changelog Changelog

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

See also See also

Advertisement

Leave a Reply