update_site_option

Advertisement

Summery Summery

Updates the value of an option that was already added for the current network.

Syntax Syntax

update_site_option( string $option, mixed $value )

Parameters Parameters

$option

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

$value

(mixed) (Required) Option value. Expected to not be SQL-escaped.

Return Return

(bool) False if value was not updated. True if value was updated.

Source Source

File: wp-includes/option.php

			$settings .= $_name . '=' . $_value . '&';
		}
	}

Advertisement

Changelog Changelog

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

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.