get_blog_id

The BP Groupblog get blog id function.

Description

get_blog_id(); 

Usage

  1. if ( !function_exists( 'get_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 = get_blog_id(); 
  7.  

Defined (1)

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

/themes/p2-buddypress/functions.php  
  1. function get_blog_id() { 
  2. global $blog_id; 
  3.  
  4. return $blog_id;