How to change Ship to a different address? Woocommerce

Professional and affordable website design. Based in King's Lynn, Norfolk.

How to change Ship to a different address? Woocommerce

Simply paste this into the functions.php file for your theme:

// Change words Ship to a different address
add_filter(‘gettext’, ‘translate_reply’);
add_filter(‘ngettext’, ‘translate_reply’);

function translate_reply($translated) {
$translated = str_ireplace(‘Ship to a different address?’, ‘The words you want instead go here’, $translated);
return $translated;
}

Leave a Reply

Your email address will not be published. Required fields are marked *