is_archived()WP 3.0.0

Checks if a particular blog is archived.

Хуков нет.

Возвращает

Строку. Whether the blog is archived or not.

Использование

is_archived( $id );
$id(int) (обязательный)
Blog ID.

Список изменений

С версии 3.0.0 Введена.

Код is_archived() WP 6.5.2

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