Function: update_blog_option

update_blog_option( integer $id, string $option, mixed $value, mixed $deprecated )

Update an option for a particular blog.

Shortcut: ubo

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$id integer

The blog id.

$option string

The option key.

$value mixed

The option value.

$deprecated mixed null

Not used.



True on success, false on failure.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.