Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Created June 18, 2022 12:26
Show Gist options
  • Select an option

  • Save clifgriffin/210810903bb7c03d8122af3467d4468d to your computer and use it in GitHub Desktop.

Select an option

Save clifgriffin/210810903bb7c03d8122af3467d4468d to your computer and use it in GitHub Desktop.
Change 'No shipping methods available' text
<?php
add_filter(
'cfw_shipping_total_not_available_text',
function () {
return 'My custom no shipping message.';
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment