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.


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


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


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();