WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/update blog option

Contents

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.