function bp_group_type($group = false) { echo bp_get_group_type($group); }
function bp_group_type() { echo bp_get_group_type(); }
function bp_get_the_site_group_type() { global $site_groups_template; return apply_filters('bp_get_the_site_group_type', bp_get_group_type($site_groups_template->group)); }
<a href="<?php echo esc_attr(bp_get_group_permalink()); ?> " title="<?php echo esc_attr(bp_get_group_name()); ?> "> <?php echo esc_attr(bp_get_group_name()); ?> </a> </h5> <div class="meta small"> <span class="activity"> <?php echo bp_get_group_type() . '/' . bp_get_group_member_count(); ?> </span> </div> </div> </li> <?php } ?> </ul> </div> <?php } else { ?> <div class="alert alert-info"> <?php
function type() { $type = bp_get_group_type(); if ($this->guild) { $type = str_replace('Group', 'Guild', $type); } return $type; }