get_current_blog_id()

Retrieve the current site ID.


Return

(int) Site ID.


Source

File: wp-includes/load.php

function get_current_blog_id() {
	global $blog_id;
	return absint($blog_id);
}


Changelog

Changelog
Version Description
WP-3.1.0 Introduced.