#43468 closed enhancement (invalid)
REST API uses get_avatar_url and does not have any of the get_avatar function filters
Reported by: | chamois_blanc | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | REST API | Keywords: | |
Focuses: | Cc: |
Description
Hello,
The REST API uses get_avatar_url and does not have any of the get_avatar function filters. I am using the 'WP First Letter Avatar' plugin and the avatar received through the REST API is the default one instead of the one set by the plugin filters.
By the time I get the avatar url through the REST API, it is impossible to know whether it is a custom avatar or the default one.
I think that this problem needs to be addressed. I should be able to get the same result.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Oh I see there is a get_avatar_url filter that could be used, so nevermind.