Use "Pay via PayPal" description if settings not available

This commit is contained in:
Alex P 2021-12-09 17:31:12 +02:00
parent f4a32a01e7
commit 222406aad6

View file

@ -350,8 +350,15 @@ class PayPalGateway extends \WC_Payment_Gateway {
);
}
if ( is_admin() ) {
return __(
'Accept PayPal, Pay Later and alternative payment types.',
'woocommerce-paypal-payments'
);
}
return __(
'Accept PayPal, Pay Later and alternative payment types.',
'Pay via PayPal.',
'woocommerce-paypal-payments'
);
}