WC_Product::get_stock_managed_by_id PHP Method

get_stock_managed_by_id() public method

If the stock level comes from another product ID, this should be modified.
Since: 2.7.0
    public function get_stock_managed_by_id()
    {
        return $this->get_id();
    }
WC_Product