WC_Product::get_stock_managed_by_id()
If the stock level comes from another product ID, this should be modified.
Method of the class: WC_Product{}
No Hooks.
Return
Int
.
Usage
$WC_Product = new WC_Product(); $WC_Product->get_stock_managed_by_id();
Changelog
Since 3.0.0 | Introduced. |
WC_Product::get_stock_managed_by_id() WC Product::get stock managed by id code WC 9.7.1
public function get_stock_managed_by_id() { return $this->get_id(); }