Created
July 4, 2019 04:57
-
-
Save KaineLabs/0215b3e43c1a596186b0e654d891a213 to your computer and use it in GitHub Desktop.
Profile Completeness : Change Upload Avatar & Cover Message.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Profile Completeness : Change Upload Avatar & Cover Message. | |
*/ | |
function yzc_change_avatar_cover_text( $translated_text ) { | |
switch ( $translated_text ) { | |
case 'Please upload an avatar and a cover for your account.' : | |
$translated_text = 'Please upload an avatar for your account.'; | |
break; | |
} | |
return $translated_text; | |
} | |
add_filter( 'gettext', 'yzc_change_avatar_cover_text', 30 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment