# edd_post_update_discount

 This action runs after a discount code is updated. It receives two parameters, $discount\_details and $id.

 $discount\_details is an array containing all fields for the discount, such as name, amount, type, etc.

```
do_action( &#039;edd_post_update_discount&#039;, $discount_details, $id );
```