Created
April 23, 2018 03:52
-
-
Save Archie22is/246edf91038c1f86310ff4d22c8983e3 to your computer and use it in GitHub Desktop.
[WooCommerce] Change the "no shipping methods available" message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_no_shipping_available_html', 'my_custom_no_shipping_message' ); | |
add_filter( 'woocommerce_cart_no_shipping_available_html', 'my_custom_no_shipping_message' ); | |
function my_custom_no_shipping_message( $message ) { | |
return __( 'your_custom_message_goes_here' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment