WC_Gateway_Paypal_Helper::is_paypal_gateway_available
Deprecated since 0.5.0. It is no longer supported and may be removed in future releases. Use Automattic\WooCommerce\Gateways\PayPal\Helper::is_paypal_gateway_available() instead.
Check if the PayPal gateway is enabled.
Method of the class: WC_Gateway_Paypal_Helper{}
No Hooks.
Returns
true|false.
Usage
$result = WC_Gateway_Paypal_Helper::is_paypal_gateway_available();
Changelog
| Deprecated since 10.5.0 | Use Automattic\WooCommerce\Gateways\PayPal\Helper::is_paypal_gateway_available() instead. |
WC_Gateway_Paypal_Helper::is_paypal_gateway_available() WC Gateway Paypal Helper::is paypal gateway available code WC 10.5.0
public static function is_paypal_gateway_available() {
wc_deprecated_function( __METHOD__, '10.5.0', 'Automattic\WooCommerce\Gateways\PayPal\Helper::is_paypal_gateway_available()' );
return PayPalHelper::is_paypal_gateway_available();
}