函数原型
is_archived( int $id ): string
函数描述
Check if a particular blog is archived.
是否弃用
未弃用
函数参数
-
$id
int
Required - Blog ID.
函数返回值
string Whether the blog is archived or not.
函数位置
File: wp-includes/ms-blogs.php.
函数源码
function is_archived( $id ) {
return get_blog_status( $id, 'archived' );
}
源码链接
变更日志
| Version | Description |
|---|---|
| MU (3.0.0) | Introduced. |

