Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,006
- How-to & Troubleshooting
- 129,530
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,784
- Showcase
- 3,316
- Ideas
- 1,398
- Miscellaneous
- 9,170
-
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.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS