do_action( 'woocommerce_updated_product_stock', int $product_id_with_stock )
Fire an action for this direct update so it can be detected by other code.
Description Description
Parameters Parameters
- $product_id_with_stock
-
Product ID that was updated directly.
Source Source
File: includes/data-stores/class-wc-product-data-store-cpt.php
Changelog Changelog
Version | Description |
---|---|
3.6 | Introduced. |