RestroPress

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

rpress_discount_price_by_payment

This filter is applied to use the get discount by payment_id, it is including two parameters.

apply_filters( ‘rpress_discount_price_by_payment’, $discount );

$discount ->discount value

How can we help?