WordPress at Your Fingertips
function is not described

WC_Payment_Gateways::should_load_paypal_standard() protected WC 5.5.0

Determines if PayPal Standard should be loaded.

{} It's a method of the class: WC_Payment_Gateways{}

No Hooks.

Return

true|false. Whether PayPal Standard should be loaded or not.

Usage

// protected - for code of main (parent) or child class
$result = $this->should_load_paypal_standard();

Changelog

Since 5.5.0 Introduced.

Code of WC_Payment_Gateways::should_load_paypal_standard() WC 5.9.0

protected function should_load_paypal_standard() {
	$paypal = new WC_Gateway_Paypal();
	return $paypal->should_load();
}