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.

Usage

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

Where the hook is called

DataStore::sync_on_order_delete()
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.