Hiding the discount code

If you want to hide the discount code from appearing on the purchase confirmation page, use this filter:

add_filter( 'edd_purchase_rewards_show_discount_code', '__return_false' );