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