blog_id

The BP Groupblog blog id function.

Description

blog_id(); 

Usage

  1. if ( !function_exists( 'blog_id' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/themes/p2-buddypress/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = blog_id(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/themes/p2-buddypress/functions.php  
  1. function blog_id() { 
  2. echo get_blog_id();