bp_get_groupblog_slug

The BP Groupblog bp get groupblog slug function.

Description

bp_get_groupblog_slug(); 

Usage

  1. if ( !function_exists( 'bp_get_groupblog_slug' ) ) { 
  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_slug(); 
  7.  

Defined (1)

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

/bp-groupblog-templatetags.php  
  1. function bp_get_groupblog_slug() { 
  2.  
  3. $group = groups_get_group( array( 'group_id' => bp_get_groupblog_id() ) );  
  4. return apply_filters( 'bp_get_groupblog_slug', $group->slug );