Skip to:
Content
Pages
Categories
Search
Top
Bottom

Get member friends number

  • Avatar of kakilo
    kakilo
    Participant

    @kakilo

    Hi guys,

    I need to set up a link to friends page area with a counter. Like that:

    My friends (723)

    Where 723 is the number of friends that the user has.

    Is there any function for that?

    Thanks in advance,
    Henry.

Viewing 1 replies (of 1 total)
  • Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    My friends (<?php bp_total_friend_count( bp_displayed_user_id() ); ?>)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.