woocommerce_analytics_delete_coupon

woocommerce_analytics_delete_coupon

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

do_action('woocommerce_analytics_delete_coupon') is found 1 times:

  • /src/Admin/API/Reports/Coupons/DataStore.php line 479
    		 *
    		 * @param int $coupon_id Coupon ID.
    		 * @param int $order_id  Order ID.
    		 */
    		do_action( 'woocommerce_analytics_delete_coupon', 0, $order_id );
    
    		ReportsCache::invalidate();
    	}
    
    	/**
    	 * Gets coupons based on the provided arguments.