Codex

WPMU Functions/update site option

Contents

Description

Updates key and value data for the current blog with the provided un-sanitized information.

This function has been moved to functions.php and now intelligently degrades for normal WordPress installations. (by returning the value of update_option() rather than handling the processing its self.

Parameters

Note: function expects $key and $value not to be SQL escaped.

$key
(string) (required) Name of key
Default: None
$value
(mixed) (required) Value of key
Default: None

Return Values

(boolean) 
True on success, false on failure.

Usage

<?php update_site_option($key$value)(); ?>