Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I show a specific user’s avatar?


  • takuya
    Participant

    @takuya

    How can I show a specific user’s avatar?

    Can I use the following?

    bp_the_site_member_avatar()

    In addition, where can I find list of template functions for buddypress?

Viewing 1 replies (of 1 total)

  • Burt Adsit
    Participant

    @burtadsit

    That function is used in a template context. The answer to your question is it depends on where you are displaying the avatar. Start with this: bp_core_get_avatar()

    There aren’t any docs for the template tags yet. Each component has a file called bp-<component>-templatetags.php.

    That function lives in bp-core-avatars.php and takes a user id.

Viewing 1 replies (of 1 total)
  • The topic ‘How can I show a specific user’s avatar?’ is closed to new replies.
Skip to toolbar