wpseek.com
A WordPress-centric search engine for devs and theme authors



get_current_blog_id › WordPress Function

Since3.1.0
Deprecatedn/a
get_current_blog_id ( No parameters )
Returns:
  • (int) Site ID.
Defined at:
Codex:

Retrieves the current site ID.



Source

function get_current_blog_id() {
	global $blog_id;

	return absint( $blog_id );
}