rpress_payment_discounted_amount

Author: RestroPress 1 views

This filter is applied to use the discounted amount of the payment, it is including two parameters.
$total is a variable that stores the total amount.
$fees are stored in the amount of the fee.
$tax is stored the tax value.

apply_filters( ‘rpress_payment_discounted_amount’, get_payment_discounted_amount, 10 ,2 );