Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: question about Group filtering


Mariusooms
Participant

@mariusooms

I had previously (bp1.1.3) created something like the following function in my bp-custom.php to spit out the group status. Not sure how useful this is before the loop though. Maybe create a feature request in trac.

function the_group_type() {
echo get_group_type();
}
function get_group_type( $group = false ) {
global $groups_template;

if ( !$group )
$group =& $groups_template->group;

$type = $group->status;

return apply_filters( 'get_group_type', $type );
}

Skip to toolbar