I’ve configured SSO from our WordPress instance to another platform. I’ve mapped out firstname, lastname, and email from the usermeta stored in our WordPress database.
Since the user photo isn’t stored in usermeta by default, I tried writing a custom function, but it’s only displaying a blank gravatar photo placeholder. What do I need to adjust to pull the actual avatar of the user so I can pass it over?
It is unclear if this is a BuddyPress issue.
BP does not store avatar info in the database.
It calls avatars from the uploads > avatars directory and organizes them based on the WP user ID.