Two ways to use your BP profile pic as your WordPress avatar:
1. Plugins:
Install and activate a plugin like “BuddyPress Default Avatar” or “BuddyPress Avatar Sync.”
These plugins automatically sync your BP profile photo with your WordPress avatar, making it a simple and hands-off solution.
2. Custom code:
If you prefer a more technical approach, you can add code to your theme’s functions.php file.
This code snippet will enable syncing of the two avatars:
PHP
function bp_avatar_sync($user_id) {
// Get BP profile picture URL
$bp_avatar_url = bp_core_fetch_avatar(array(‘item_id’ => $user_id, ‘type’ => ‘full’));
this issue could stem from a configuration problem with BuddyPress, a plugin conflict (even though it works on your staging version), or a persistent caching issue.