woocommerce_product_before_set_stock
Action Hook: Action to signal that the value of ‘stock_quantity’ for a product is about to change.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:596
Action Hook: Action to signal that the value of ‘stock_quantity’ for a product is about to change.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:596
Action Hook: Action to signal that the value of ‘stock_quantity’ for a variation is about to change.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:587
Method: Add ability to get products by ‘reviews_allowed’ in WC_Product_Query.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:1759
Method: Get valid WP_Query args from a WC_Product_Query’s query variables.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:1780
Method: Query for Products matching specific criteria.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:2032
Method: Get data to save to a lookup table.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:2071
Method: Get primary key name for lookup table.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:2105
Method: Returns query statement for getting current `_stock` of a product.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:2119
Method: Update a products rating counts.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:1538
Method: Get shipping class ID by slug.
Source: includes/data-stores/class-wc-product-data-store-cpt.php:1549