Created
August 20, 2019 16:36
-
-
Save wplaunchify/1dbd94ec333feebd7ba2b032dc219719 to your computer and use it in GitHub Desktop.
Change BenchMark To Trigger (or any other word) in Groundhogg.io
This file contains hidden or 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
add_filter( 'gettext', 'lab_translate' ); | |
function lab_translate( $translated ) { | |
$original = array( | |
// 'original word' = > 'your new translated word' | |
'Benchmark' => 'Trigger', | |
); | |
$translated = str_ireplace( array_keys($original), $original, $translated ); | |
return $translated; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment