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

Link here