Retrieve the current blog id
Signature
get_current_blog_id()
Return
(int) Blog id
Source
function get_current_blog_id() {
global $blog_id;
return absint($blog_id);
}
WP Trac GitHub Bitbucket
Link here
-
URL
http://queryposts.com/function/get_current_blog_id/ -
HTML
<a href='http://queryposts.com/function/get_current_blog_id/'>get_current_blog_id()</a> -
Markdown
[get_current_blog_id()](http://queryposts.com/function/get_current_blog_id/) -
BBCode
[url=http://queryposts.com/function/get_current_blog_id/]get_current_blog_id()[/url]