is_archived( int $id )
Check if a particular blog is archived.
Parameters
- $id
-
(int) (Required) The blog id
Return
(string) Whether the blog is archived or not
Source
File: wp-includes/ms-blogs.php
function is_archived( $id ) {
return get_blog_status($id, 'archived');
}
Changelog
Version | Description |
---|---|
WP-MU | Introduced. (3.0.0) |