Automattic\WooCommerce\Gateways\PayPal
Buttons::is_enabled
Whether PayPal Buttons is enabled.
Метод класса: Buttons{}
Хуков нет.
Возвращает
bool.
Использование
$Buttons = new Buttons(); $Buttons->is_enabled(): bool;
Список изменений
| С версии 10.5.0 | Введена. |
Код Buttons::is_enabled() Buttons::is enabled WC 11.2.2
public function is_enabled(): bool {
return $this->enabled;
}