bp_get_groupblog_id

The BP Groupblog bp get groupblog id function.

Description

bp_get_groupblog_id(); 

Usage

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

Defined (1)

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

/bp-groupblog-templatetags.php  
  1. function bp_get_groupblog_id() { 
  2. global $current_blog; 
  3.  
  4. return apply_filters( 'bp_get_groupblog_id', get_groupblog_group_id( $current_blog->blog_id ) );