is_archived()
最后更新于:2021-11-27 08:10:34
is_archived( int$id)
Check if a particular blog is archived.
参数
- $id
-
(int)
(Required)
Blog ID.
响应
(string) Whether the blog is archived or not.
源文件
文件: gc-includes/ms-blogs.php
function is_archived( $id ) {
return get_blog_status( $id, 'archived' );
}