bp_members_pagination_count

  • apply_filters( 'bp_members_pagination_count', $pag )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-template.php :: Trac Source Line: 362
      		if ( 'active' == $members_template->type )
      			$pag = sprintf( __( 'Viewing member %1$s to %2$s (of %3$s active members)', 'buddypress' ), $from_num, $to_num, $total );
      		else if ( 'popular' == $members_template->type )
      			$pag = sprintf( __( 'Viewing member %1$s to %2$s (of %3$s members with friends)', 'buddypress' ), $from_num, $to_num, $total );
      		else if ( 'online' == $members_template->type )
      			$pag = sprintf( __( 'Viewing member %1$s to %2$s (of %3$s members online)', 'buddypress' ), $from_num, $to_num, $total );
      		else
      			$pag = sprintf( __( 'Viewing member %1$s to %2$s (of %3$s members)', 'buddypress' ), $from_num, $to_num, $total );
      
      		return apply_filters( 'bp_members_pagination_count', $pag );
      	}
      
      function bp_members_pagination_links() {
      	echo bp_get_members_pagination_links();
      }
      	function bp_get_members_pagination_links() {
      		global $members_template;
      
      		return apply_filters( 'bp_get_members_pagination_links', $members_template->pag_links );
      	}
      

Comments are closed.