is_archived( int $id ): string

In this article

Checks if a particular blog is archived.

Parameters

$idintrequired
Blog ID.

Return

string Whether the blog is archived or not.

Source

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

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.