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