function custom_checkout_text_change( $translated_text, $text, $domain ) { if ( $domain === 'woocommerce' && $text === 'Billing details' ) { $translated_text = 'Billing Details'; } return $translated_text; } add_filter( 'gettext', 'custom_checkout_text_change', 20, 3 );
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter