Skip to content

Instantly share code, notes, and snippets.

@gaiqus
Created September 8, 2020 07:02
Show Gist options
  • Save gaiqus/5dd76d7a6637b358bd2348e501430d12 to your computer and use it in GitHub Desktop.
Save gaiqus/5dd76d7a6637b358bd2348e501430d12 to your computer and use it in GitHub Desktop.
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( 'Dodaj do koszyka produkty za łączną kwotę %1$s , aby uzyskać darmową wysyłkę!', wc_price( $amount ) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment