Created
September 8, 2020 07:10
-
-
Save gaiqus/ef35b1ca41dc3510de91fa1a982c5b20 to your computer and use it in GitHub Desktop.
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
add_filter( 'flexible_shipping_free_shipping_notice_text', 'wpdesk_flexible_shipping_free_shipping_notice_text', 10, 2 ); | |
function wpdesk_flexible_shipping_free_shipping_notice_text( $notice_text, $amount ) { | |
return sprintf( 'You only need %1$s more to get free shipping!', wc_price( $amount ) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment