bp_blog_id()

Output the ID of the current blog in the loop.

Description

Source

File: bp-blogs/bp-blogs-template.php

function bp_blog_id() {
	echo bp_get_blog_id();
}

Changelog

Changelog
Version Description
BuddyPress 1.7.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.