get_current_blog_id(): int

Retrieves the current site ID.


Return

int Site ID.


Top ↑

Source

File: wp-includes/load.php. View all references

function get_current_blog_id() {
	global $blog_id;

	return absint( $blog_id );
}


Top ↑

Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes

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