Created
March 16, 2024 17:37
-
-
Save mohsinworld/6de23aed7bfb6924b5a4c962874169bd to your computer and use it in GitHub Desktop.
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
function wc_billing_field_strings( $translated_text, $text, $domain ) { | |
switch ( $translated_text ) { | |
case 'Billing details' : | |
$translated_text = __( 'Billing Info', 'woocommerce' ); | |
break; | |
} | |
return $translated_text; | |
} | |
add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment