WordPress开发者和主题制作者的搜索引擎



is_archived ›

Since3.0.0
已弃用n/a
is_archived ( $id )
参数:
  • (int) $id Blog ID.
    Required: Yes
返回:
  • (string) Whether the blog is archived or not.
定义在:
文档:
Change Log:
  • MU

Check if a particular blog is archived.



源码

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