woocommerce

How to change woocommerce checkout ‘Ship to a Different Address’ section title

function shipchange( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Ship to a different address?' :
$translated_text = __( 'Partial Pay', 'woocommerce' );
break;
}
return $translated_text;
}

add_filter('gettext', 'shipchange', 20, 3);

Related Articles

Back to top button
Enable Notifications OK No thanks