update_archived( int $id, string $archived )
Update the ‘archived’ status of a particular blog.
Description Description
Parameters Parameters
- $id
-
(int) (Required) Blog ID.
- $archived
-
(string) (Required) The new status.
Return Return
(string) $archived
Source Source
File: wp-includes/ms-blogs.php
function update_archived( $id, $archived ) { update_blog_status( $id, 'archived', $archived ); return $archived; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |