#6735 closed enhancement (wontfix)
It isn't possible to use Gravatar && filter the "avatar default"
Reported by: | henry.wright | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.4.0 |
Component: | Media | Keywords: | |
Cc: |
Description
If Gravatar is disabled using the bp_core_fetch_avatar_no_grav
hook, the bp_core_default_avatar_{object
} hook is executed. Therefore, the latter hook allows us to filter the "avatar default" when Gravatar isn't used.
It isn't currently possible to use Gravatar and filter the "avatar default".
Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L572
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Attached is one possible solution. It allows the default Gravatar src value to be filtered (the
d
parameter).