Skip to content

Instantly share code, notes, and snippets.

@clifgriffin
Created June 18, 2022 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clifgriffin/210810903bb7c03d8122af3467d4468d to your computer and use it in GitHub Desktop.
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