woocommerce_coupon_object_updated_props action-hook . WC 1.0
Usage
add_action( 'woocommerce_coupon_object_updated_props', 'action_function_name_3340', 10, 2 ); function action_function_name_3340( $coupon, $updated_props ){ // action... }
- $coupon
- -
- $updated_props
- -
Where the hook is called
woocommerce_coupon_object_updated_props
woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php 290
do_action( 'woocommerce_coupon_object_updated_props', $coupon, $this->updated_props );
Where in WP core the hook is used WooCommerce
woocommerce/includes/tracks/events/class-wc-coupon-tracking.php 17
add_action( 'woocommerce_coupon_object_updated_props', array( $this, 'track_coupon_updated' ), 10, 2 );