Uses
Uses | Description |
---|---|
wp-includes/ms-blogs.php: update_blog_status() | Update a blog details field. |
Update the ‘archived’ status of a particular blog.
(int) (Required) Blog ID.
(string) (Required) The new status.
(string) $archived
File: wp-includes/ms-blogs.php
function update_archived( $id, $archived ) { update_blog_status( $id, 'archived', $archived ); return $archived; }
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/update_archived