Filter Update Discount Data

wpwh/actions/edd_create_discount/filter_discount_arguments

Description:
This filter allows you to filter discount arguments before we are updating the given discount.

Parameter Type Description
$discount_args array An array containing all the data that is used to update the discount.
$discount_id integer The id of the discount that will be updated.
$discount object (EDD_Discount) The EDD Discount object of the discount before its updated.
$discount_args = apply_filters( 'wpwh/actions/edd_update_discount/filter_discount_arguments', $discount_args, $discount_id, $discount );
Updated on August 12, 2020

Was this article helpful?

Related Articles