Automattic\WooCommerce\Gateways\PayPal

Buttons::is_enabled │ public │ WC 10.5.0

Whether PayPal Buttons is enabled.

Method of the class: Buttons{}

No Hooks.

Returns

bool.

Usage

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

Changelog

Since 10.5.0 Introduced.

Buttons::is_enabled() code WC 11.1.2

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