woocommerce_analytics_delete_coupon

woocommerce_analytics_delete_coupon

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_analytics_delete_coupon') is found 1 times:

  • /src/Admin/API/Reports/Coupons/DataStore.php line 471
    		 *
    		 * @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.