WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/update blog option

Description

Update an option for a particular blog.

Usage

<?php update_blog_option$id$option$value$deprecated ?>

Parameters

$id
(integer) (required) The blog id
Default: None
$option
(string) (required) The option key
Default: None
$value
(mixed) (required) The option value
Default: None
$deprecated
(null) (optional) Deprecated parameter
Default: null

Return Value

(boolean) 
True on success, false on failure.

Examples


Notes

Change Log

Since: 3.0.0

Source File

update_blog_option() is located in wp-includes/ms-blogs.php

Related

 

See also index of Function Reference and index of Template Tags.