Updates the ‘archived’ status of a particular blog.
Parameters
$idintrequired- Blog ID.
$archivedstringrequired- 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.