WordPress at Your Fingertips
action is not described

woocommerce_analytics_delete_coupon action-hook . WC 1.0

Fires when coupon's reports are removed from database.


add_action( 'woocommerce_analytics_delete_coupon', 'action_function_name_6794', 10, 2 );
function action_function_name_6794( $coupon_id, $order_id ){
	// action...
Coupon ID.
Order ID.

Where the hook is called

woocommerce/packages/woocommerce-admin/src/API/Reports/Coupons/DataStore.php 454
do_action( 'woocommerce_analytics_delete_coupon', 0, $order_id );

Where in WP core the hook is used WooCommerce

Usage not found.