WordPress at a glance
function is not described

get_blog_status() WP 3.0.0

Get a blog details field.

  • Global. wpdb. $wpdb WordPress database abstraction object.

No Hooks.

Return

true/false/String/null. $value

Usage

get_blog_status( $id, $pref );
$id(int) (required)
The blog id
$pref(string) (required)
A field name

Code of get blog status: wp-includes/ms-blogs.php VER 5.0.3

<?php
function get_blog_status( $id, $pref ) {
	global $wpdb;

	$details = get_site( $id );
	if ( $details )
		return $details->$pref;

	return $wpdb->get_var( $wpdb->prepare("SELECT %s FROM {$wpdb->blogs} WHERE blog_id = %d", $pref, $id) );
}