bp_get_blog_id()
Return the ID of the current blog in the loop.
Description Description
Return Return
(int) ID of the current blog in the loop.
Source Source
File: bp-blogs/bp-blogs-template.php
function bp_get_blog_id() { global $blogs_template; /** * Filters the ID of the current blog in the loop. * * @since 1.7.0 * * @param int $blog_id ID of the current blog in the loop. */ return apply_filters( 'bp_get_blog_id', $blogs_template->blog->blog_id ); }
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |