Created
November 20, 2020 12:14
-
-
Save cpaul007/92fbc4336e1de01323505c477ca26095 to your computer and use it in GitHub Desktop.
Change New Total Text
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
<?php | |
add_filter( 'gettext_woocommerce', 'ouwoo_new_total_text', 10, 3); | |
function ouwoo_new_total_text( $translated_text, $text, $domain ) { | |
switch( $translated_text ) { | |
case 'New Total:' : | |
$translated_text = "ENTER YOUR TEXT HERE"; | |
break; | |
} | |
return $translated_text; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment