get_current_blog_id(): int

Retrieves the current site ID.

Return

int Site ID.

Source

function get_current_blog_id() {
	global $blog_id;

	return absint( $blog_id );
}

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.