apply_filters( "bp_get_activity_avatar_object_{$current_activity_item->component}", string $component )
Filters the activity avatar object based on current activity item component.
Description
This is a variable filter dependent on the component used. Possible hooks are bp_get_activity_avatar_object_blog, bp_get_activity_avatar_object_group, and bp_get_activity_avatar_object_user.
Parameters
- $component
-
Component being displayed.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.1.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.