Automattic\WooCommerce\Gateways\PayPal

Buttons::is_enabled │ public │ WC 10.5.0

Whether PayPal Buttons is enabled.

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

Хуков нет.

Возвращает

bool.

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

$Buttons = new Buttons();
$Buttons->is_enabled(): bool;

Список изменений

С версии 10.5.0 Введена.

Код Buttons::is_enabled() WC 11.2.2

public function is_enabled(): bool {
	return $this->enabled;
}