mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge branch 'trunk' into PCP-1393-acdc-vault-v3
This commit is contained in:
commit
cb7612851f
5 changed files with 85 additions and 46 deletions
|
@ -1180,7 +1180,16 @@ return array(
|
|||
*/
|
||||
return apply_filters(
|
||||
'woocommerce_paypal_payments_place_order_button_text',
|
||||
__( 'Pay with PayPal', 'woocommerce-paypal-payments' )
|
||||
__( 'Proceed to PayPal', 'woocommerce-paypal-payments' )
|
||||
);
|
||||
},
|
||||
'wcgateway.place-order-button-description' => function ( ContainerInterface $container ) : string {
|
||||
/**
|
||||
* The text for additional description, when the "Place order" button mode is enabled.
|
||||
*/
|
||||
return apply_filters(
|
||||
'woocommerce_paypal_payments_place_order_button_description',
|
||||
__( 'Clicking "Proceed to PayPal" will redirect you to PayPal to complete your purchase.', 'woocommerce-paypal-payments' )
|
||||
);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue