Automattic\WooCommerce\Blocks\BlockTypes
ProductStockIndicator::get_product_types_without_stock_indicator()
Get product types that should not display stock indicators.
Method of the class: ProductStockIndicator{}
No Hooks.
Return
Array
.
Usage
// protected - for code of main (parent) or child class $result = $this->get_product_types_without_stock_indicator();
ProductStockIndicator::get_product_types_without_stock_indicator() ProductStockIndicator::get product types without stock indicator code WC 9.6.0
protected function get_product_types_without_stock_indicator() { return array( 'external', 'grouped', 'variable' ); }