apply_filters( 'bp_attachment_avatar_script_data', array $script_data, string $object )

Use this filter to override/extend the avatar script data.

Parameters Parameters


(array) The avatar script data.


(string) The object the avatar belongs to (eg: user or group).

Source Source

File: bp-core/classes/class-bp-attachment-avatar.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.