is_archived()WP 3.0.0

Check if a particular blog is archived.

No Hooks.

Return

String. Whether the blog is archived or not.

Usage

is_archived( $id );
$id(int) (required)
Blog ID.

Changelog

Since 3.0.0 Introduced.

Code of is_archived() WP 6.0

function is_archived( $id ) {
	return get_blog_status( $id, 'archived' );
}