get_current_blog_id()

Retrieve the current site ID.


Description Description


Return Return

(int) Site ID.


Top ↑

Source Source

File: wp-includes/load.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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