WC_Product_Grouped::is_purchasable()publicWC 1.0

Returns false if the product cannot be bought.

Метод класса: WC_Product_Grouped{}

Хуки из метода

Возвращает

true|false.

Использование

$WC_Product_Grouped = new WC_Product_Grouped();
$WC_Product_Grouped->is_purchasable();

Код WC_Product_Grouped::is_purchasable() WC 8.7.0

public function is_purchasable() {
	return apply_filters( 'woocommerce_is_purchasable', false, $this );
}