WC_Product::set_manage_stock( bool $manage_stock )

Set if product manage stock.


Description Description


Parameters Parameters

$manage_stock

(Required) Whether or not manage stock is enabled.


Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

	public function set_manage_stock( $manage_stock ) {
		$this->set_prop( 'manage_stock', wc_string_to_bool( $manage_stock ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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