Last active
February 12, 2021 12:44
-
-
Save mgibbs189/7f262fb1d76c8da849114152dabb563d to your computer and use it in GitHub Desktop.
FacetWP - translate "On sale" text
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 | |
add_filter( 'gettext', function( $translated_text, $text, $domain ) { | |
if ( 'fwp-front' == $domain && 'Go' == $text ) { | |
$translated_text = 'Go (russian)'; | |
} | |
return $translated_text; | |
}, 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment