Here’s what I have in my child functions file. It’s not working though. And yes this .png is on the server in that location. Please advise, thanks.
COPY CODE
// change default avatar for members
function myavatar_add_default_avatar( $url )
{
return get_stylesheet_directory_uri() .'/images/BGL-icon72.png';
}
add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' );
add_filter( 'bp_group_gravatar_default', 'myavatar_add_default_avatar' );