Skip to:
Content
Pages
Categories
Search
Top
Bottom

Display all registered user


  • Ahir Hemant
    Participant

    @hemant-ahir

    Hello,

    i want to display all registered user in member page i mean i want to display count like by default buddy press provide (All member (510)), but where 510=active member i want to display all registered, so what can i changed in query ? please help

Viewing 1 replies (of 1 total)

  • Henry Wright
    Moderator

    @henrywright

    Hi @hemant-ahir

    echo bp_core_get_total_member_count();

    This will display the total number of members for your installation. Note that this particular figure will account for all non-spam activated users even if they have done nothing on your site after activating their account.

    echo bp_core_get_active_member_count();

    This figure is the total number of members that have performed some kind of site activity after activating their account (i.e. active users).

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Display all registered user’ is closed to new replies.
Skip to toolbar