apply_filters( 'woocommerce_query_for_reserved_stock', string $query, int $product_id, int $exclude_order_id )

Filter: woocommerce_query_for_reserved_stock Allows to filter the query for getting reserved stock of a product.


Description Description


Parameters Parameters

$query

The query for getting reserved stock of a product.

$product_id

Product ID.

$exclude_order_id

Order to exclude from the results.


Top ↑

Source Source

File: src/Checkout/Helpers/ReserveStock.php


Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.