WC_Payment_Gateways::should_load_paypal_standard
Determines if PayPal Standard should be loaded.
Method of the class: WC_Payment_Gateways{}
No Hooks.
Returns
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. |
WC_Payment_Gateways::should_load_paypal_standard() WC Payment Gateways::should load paypal standard code WC 10.5.0
protected function should_load_paypal_standard() {
$paypal = WC_Gateway_Paypal::get_instance();
return $paypal->should_load();
}