woocommerce_analytics_delete_product

woocommerce_analytics_delete_product

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_analytics_delete_product') is found 1 times:

  • /src/Admin/API/Reports/Products/DataStore.php line 543
    		 *
    		 * @param int $product_id Product ID.
    		 * @param int $order_id   Order ID.
    		 */
    		do_action( 'woocommerce_analytics_delete_product', 0, $order_id );
    
    		ReportsCache::invalidate();
    	}
    
    	/**
    	 * Initialize query objects.