Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to get the profile avatars, (bp_get_options_avatar) ?


  • seppolaatle112
    Participant

    @seppolaatle112

    Sjalabais!

    I managed to find out that the function, bp_loggedinuser_avatar() , is in bp-core/bp-core-avatars.php, but when I’m trying to find the function, bp_get_options_avatar, I just cant find it. Does anyone of you guys know where I could find it?

    – Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

  • Mark
    Participant

    @wpsec

    Look in bp-core/bp-core-templatetags.php around line 158.


    gaetanbuddypress
    Participant

    @gaetanbuddypress

    Seppolaatle112,

    Have a look in this file:

    /wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php

    I think you’ll find what you want!;-)


    gaetanbuddypress
    Participant

    @gaetanbuddypress

    Well done M! 1min before, just the time I find it &I write the post!;-)lol


    seppolaatle112
    Participant

    @seppolaatle112

    Thanks!

    Now, I am kind of confused actually.

    What I wanted to do was to copy the function over to my bp-custom.php, and then remove the <img src=”” /> tag from the function, so that I could get the avatars by writing the entire code with <img src=”……” /> in the theme I am using.

    I did this with the bp_loggedinuser_avatar() function, but it does not seem to be any img-tags in the bp_get_options_avatar() function. Now, does anyone of you know where I can find the img-tag witch Buddypress automatically gets when using the bp_get_options_avatar() function?

    Thanks…!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to get the profile avatars, (bp_get_options_avatar) ?’ is closed to new replies.
Skip to toolbar