apply_filters( 'bp_attachment_avatar_script_data', array $script_data , string $object )
Use this filter to override/extend the avatar script data.
Description
Parameters
- $script_data
-
The avatar script data.
- $object
-
The object the avatar belongs to (eg: user or group).
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.3.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.