bp_groupblog_show_enabled

The BP Groupblog bp groupblog show enabled function.

Description

bp_groupblog_show_enabled( $group_id ); 

Parameters (1)

0. $group_id
The group id.

Usage

  1. if ( !function_exists( 'bp_groupblog_show_enabled' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/bp-groupblog-templatetags.php'; 
  3.  
  4. // The group id. 
  5. $group_id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bp_groupblog_show_enabled($group_id); 
  9.  

Defined (1)

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

/bp-groupblog-templatetags.php  
  1. function bp_groupblog_show_enabled( $group_id ) { 
  2.  
  3. if ( groups_get_groupmeta ( $group_id, 'groupblog_enable_blog' ) == '1' ) { 
  4. echo ' checked="checked"'; 
  5.