WC_Product::managing_stock()

Returns whether or not the product is stock managed.


Description Description


Return Return

(bool)


Top ↑

Source Source

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

	public function managing_stock() {
		if ( 'yes' === get_option( 'woocommerce_manage_stock' ) ) {
			return $this->get_manage_stock();
		}
		return false;
	}


Top ↑

User Contributed Notes User Contributed Notes

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