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 8.7.0

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