WC_Payment_Gateways::should_load_paypal_standard()
Determines if PayPal Standard should be loaded.
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. |
WC_Payment_Gateways::should_load_paypal_standard() WC Payment Gateways::should load paypal standard code WC 7.5.1
protected function should_load_paypal_standard() { $paypal = new WC_Gateway_Paypal(); return $paypal->should_load(); }