is_archived()
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() is archived WP 6.7.2
function is_archived( $id ) { return get_blog_status( $id, 'archived' ); }