Updates the ‘archived’ status of a particular blog.
Parameters
$id
intrequired- Blog ID.
$archived
stringrequired- The new status.
Source
function update_archived( $id, $archived ) {
update_blog_status( $id, 'archived', $archived );
return $archived;
}
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.