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



is_archived › WordPress Function

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

Checks if a particular blog is archived.



源码

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