Description
Switches to the blog id specified, runs update_option() and then restores to the current blog. If $refresh is true then it will refresh the blog details.
Parameters
- $blog_id
- (integer) (required) The id of the blog to be updated.
- Default: None
- $key
- (string) (required) The name for the updated option.
- Default: None
- $value
- (mixed) (required) The new option value.
- Default: None
- $refresh
- (boolean) (optional) Whether or not to refresh the blog details using refresh_blog_details(). (deprecated)
- Default: true
Return Values
- (null)
Usage
<?php update_blog_option ($blog_id, $key, $value, $refresh); ?>
Source File
update_blog_option() is located in /wp-includes/ms-blogs.php
.