woocommerce change 22billing details 22 text

Solutions on MaxInterview for woocommerce change 22billing details 22 text by the best coders in the world

showing results for - "woocommerce change 22billing details 22 text"
Ayden
18 Aug 2020
1function wc_billing_field_strings( $translated_text, $text, $domain ) {
2    switch ( $translated_text ) {
3        case 'Billing details' :
4            $translated_text = __( 'Billing Info', 'woocommerce' );
5            break;
6    }
7    return $translated_text;
8}
9add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 );
10