Insert a custom default cover image, if the user hasn’t uploaded any, with the following code snippet.

Including the custom default Buddypress cover image could end up enhancing your current Buddypress design.

bp-custom.php

// Default member cover image
function custom_default_xprofile_cover_image( $settings = array() ) {
    $settings['default_cover'] = 'https://your-website.com/image/image.png'; // path to your image
 
    return $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'custom_default_xprofile_cover_image', 10, 1 );

// Default group cover image
function custom_default_group_cover_image( $settings = array() ) {
    $settings['default_cover'] = 'https://your-website.com/image/image.png'; // path to your image
 
    return $settings;
}
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'custom_default_group_cover_image', 10, 1 );