Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="item-list-tabs activity-type-tabs">
- <ul>
- <?php do_action( 'bp_before_activity_type_tab_all' ) ?>
- <?php if ( is_user_logged_in() ) : ?>
- <?php do_action( 'bp_before_activity_type_tab_groups' ) ?>
- <?php if ( function_exists( 'bp_get_total_group_count_for_user' ) ) : ?>
- <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
- <li li class="selected" id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/' . BP_GROUPS_SLUG . '/' ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
- <?php endif; ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement