Last active
July 28, 2018 03:43
-
-
Save KaineLabs/1cf72b45be06cd3b57183a9182811552 to your computer and use it in GitHub Desktop.
Change "Widgets Settings" to "Overview Settings"
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 | |
/** | |
* Translate Text | |
*/ | |
function yz_translate_youzer_text( $translated_text ) { | |
switch ( $translated_text ) { | |
case 'widgets settings' : | |
$translated_text = __( 'Overview Settings', 'youzer' ); | |
break; | |
} | |
return $translated_text; | |
} | |
add_filter( 'gettext', 'yz_translate_youzer_text', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment