Fix event name

This commit is contained in:
Rebecca Scott 2020-03-27 14:54:48 +10:00
parent b31878440e
commit 39f654124c
1 changed files with 1 additions and 1 deletions

View File

@ -33,6 +33,6 @@ class WC_Coupon_Tracking {
|| 0 < intval( $coupon->get_limit_usage_to_x_items() ),
);
WC_Tracks::record_event( 'coupon_add', $properties );
WC_Tracks::record_event( 'coupon_updated', $properties );
}
}