Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Please help – Use WordPress Avatars not BuddyPress?

@henrywright

Moderator

Humm.. not helpful then. In that case we might have to try doing it manually. Perhaps try disabling the filter which replaces the WP avatars with BP avatars. For example, add this to your theme’s functions.php file:

remove_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 5 );

I think you can disable the Gravatar fallback as well with this:

add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );

If that doesn’t work, you may need to replace all occurrences of bp_core_fetch_avatar() with get_avatar() in your templates. But cross that bridge when you come to it.

Ref: https://codex.wordpress.org/Function_Reference/get_avatar

Skip to toolbar