wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



is_archived › WordPress Function

Depuis
Dépréciéen/a
is_archived ( $id )
Paramètres:
  • (int) $id Blog ID.
    Requis: Oui
Retourne:
  • (string) Whether the blog is archived or not.
Défini(e) dans:
Codex:
Changelog:
  • MU

Checks if a particular blog is archived.



Source

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