xprofile_filter_profile_group_tabs

  • apply_filters( 'xprofile_filter_profile_group_tabs', $tabs, $groups, $group_name )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 715
      		else
      			$selected = '';
      
      		if ( !empty( $groups[$i]->fields ) ) {
      			$link = $bp->displayed_user->domain . $bp->profile->slug . '/edit/group/' . $groups[$i]->id;
      			$tabs[] = sprintf( '<li %1$s><a href="%2$s">%3$s</a></li>', $selected, $link, esc_html( $groups[$i]->name ) );
      		}
      	}
      
      	$tabs = apply_filters( 'xprofile_filter_profile_group_tabs', $tabs, $groups, $group_name );
      	foreach ( (array) $tabs as $tab )
      		echo $tab;
      
      	do_action( 'xprofile_profile_group_tabs' );
      }
      
      function bp_profile_group_name( $deprecated = true ) {
      	if ( !$deprecated ) {
      		return bp_get_profile_group_name();
      	} else {
      

Comments are closed.