Uses
| Uses | Description |
|---|---|
| wp-includes/ms-blogs.php: get_blog_status() | Get a blog details field. |
Check if a particular blog is archived.
(int) (Required) Blog ID.
(string) Whether the blog is archived or not.
File: wp-includes/ms-blogs.php
function is_archived( $id ) {
return get_blog_status( $id, 'archived' );
} | Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_archived