RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_payment_discounted_amount

rpress_payment_discounted_amount

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 );

How can we help?