bp_groups_auto_join

  • apply_filters( 'bp_groups_auto_join', (bool)$bp->groups->auto_join )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-template.php :: Trac Source Line: 742
      		$to_num = bp_core_number_format( ( $start_num + ( $groups_template->pag_num - 1 ) > $groups_template->total_group_count ) ? $groups_template->total_group_count : $start_num + ( $groups_template->pag_num - 1 ) );
      		$total = bp_core_number_format( $groups_template->total_group_count );
      
      		return apply_filters( 'bp_get_groups_pagination_count', sprintf( __( 'Viewing group %1$s to %2$s (of %3$s groups)', 'buddypress' ), $from_num, $to_num, $total ) );
      	}
      
      function bp_groups_auto_join() {
      	global $bp;
      
      	return apply_filters( 'bp_groups_auto_join', (bool)$bp->groups->auto_join );
      }
      
      function bp_group_total_members( $group = false ) {
      	echo bp_get_group_total_members( $group );
      }
      	function bp_get_group_total_members( $group = false ) {
      		global $groups_template;
      
      		if ( !$group )
      			$group =& $groups_template->group;
      

Comments are closed.