Automattic\WooCommerce\Blocks\Payments\Integrations

PayPal::initialize()publicWC 1.0

Initializes the payment method type.

Method of the class: PayPal{}

No Hooks.

Return

null. Nothing (null).

Usage

$PayPal = new PayPal();
$PayPal->initialize();

PayPal::initialize() code WC 9.0.1

public function initialize() {
	$this->settings = get_option( 'woocommerce_paypal_settings', [] );
}