Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sarancartrabbit/cb923d86e09b46534ffa56a62482aeaf to your computer and use it in GitHub Desktop.
Save sarancartrabbit/cb923d86e09b46534ffa56a62482aeaf to your computer and use it in GitHub Desktop.
Woo Discount Rules v3: Add woo-commerce coupon value for you saved text
// Cart page add the woocommerce you saved amount
add_filter('wdr_add_woocommerce_amount_saved_text', '__return_true');
// Thankyou and Order page add the woocommerce you saved text
add_filter('wdr_add_woocommerce_amount_saved_text_order_page', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment