mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Use "Pay via PayPal" description if settings not available
This commit is contained in:
parent
f4a32a01e7
commit
222406aad6
1 changed files with 8 additions and 1 deletions
|
@ -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 __(
|
return __(
|
||||||
'Accept PayPal, Pay Later and alternative payment types.',
|
'Pay via PayPal.',
|
||||||
'woocommerce-paypal-payments'
|
'woocommerce-paypal-payments'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue