Passing post_id to the coupon save action

Pass post_id to the woocommerce_coupon_options_save action so we know what
coupon ID is being saved.
This commit is contained in:
Chuck Mac 2014-02-23 10:27:27 -05:00 committed by Coen Jacobs
parent c0ee22971d
commit 10d2f9e22f
1 changed files with 1 additions and 1 deletions

View File

@ -277,6 +277,6 @@ class WC_Meta_Box_Coupon_Data {
update_post_meta( $post_id, 'minimum_amount', $minimum_amount );
update_post_meta( $post_id, 'customer_email', $customer_email );
do_action( 'woocommerce_coupon_options_save' );
do_action( 'woocommerce_coupon_options_save', $post_id );
}
}