apply_filters( 'bp_attachment_avatar_script_data', array $script_data , string $object )
Use this filter to override/extend the avatar script data.
Description Description
Parameters Parameters
- $script_data
-
The avatar script data.
- $object
-
The object the avatar belongs to (eg: user or group).
Source Source
File: bp-core/classes/class-bp-attachment-avatar.php
Changelog Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |