rpress_update_discount

Author: bibhu 17 views

This filter is applied to the discount data just before a discount is created.

apply_filters( 'rpress_insert_discount', $discount_details);

$discount_details is an array of all fields for the discount.