WordPress at Your Fingertips
function is not described

WC_Product::managing_stock() public WC 1.0

Returns whether or not the product is stock managed.

{} It's a method of the class: WC_Product{}

No Hooks.

Return

true|false.

Usage

$WC_Product = new WC_Product();
$WC_Product->managing_stock();

Code of WC_Product::managing_stock() WC 5.5.2

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