wordpress / latest / functions / is_archived.html

is_archived( int $id ): string

Check if a particular blog is archived.

Parameters

$id int Required
Blog ID.

Return

string Whether the blog is archived or not.

Source

File: wp-includes/ms-blogs.php. View all references

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

Uses

Uses Description

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/is_archived