Automattic\WooCommerce\Gateways\PayPal

Buttons::is_enabledpublicWC 10.5.0

Whether PayPal Buttons is enabled.

Method of the class: Buttons{}

No Hooks.

Returns

true|false.

Usage

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

Changelog

Since 10.5.0 Introduced.

Buttons::is_enabled() code WC 10.8.1

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