Retrieve the details for a blog from the blogs table and blog options.
See: WPMU_Functions/get_blog_details
<?php get_blog_details( $fields, $get_all ); ?>
<?php get_blog_details(1); ?>
would return:
[blog_id] => 1 [site_id] => 1 [domain] => foo-multi-site.com [path] => /site-path/ [registered] => 2014-07-31 14:51:09 [last_updated] => 2014-07-31 15:51:56 [public] => 1 [archived] => 0 [mature] => 0 [spam] => 0 [deleted] => 0 [lang_id] => 0 [blogname] => Site Name [siteurl] => http://foo-multi-site.com/this-site [post_count] =>
Uses global $wpdb
Since: 3.0.0
get_blog_details() is located in wp-includes/ms-blogs.php
.