I use a child Theme of Reign Theme. Now, I don’t want to use any additional plugins because I already have 36 plugins on my website.
The text of Gravatar calls, has hard-coded links as seen here:
<p class="bp-feedback info">
<span class="bp-icon" aria-hidden="true"></span>
/* Translators: %s is used to output the link to the Gravatar site */
printf( esc_html__( 'Your profile photo will be used on your profile and throughout the site. If there is a %s associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ),
/* Translators: Url to the Gravatar site, you can use the one for your country eg: https://fr.gravatar.com for French translation */
'<a href="' . esc_url( __( 'https://gravatar.com', 'buddypress' ) ) . '">Gravatar</a>'
I will like to edit all these texts directly and remove the Gravatar link without breaking things.
I am also looking for a way to remove that whole text completely without plugin. I want to do it by using Code Snippets. If anyone has a Code Snippet that I can insert into my functions.php, I will be most grateful.