Merge branch 'trunk' into PCP-1393-acdc-vault-v3

This commit is contained in:
Emili Castells Guasch 2023-11-30 14:40:04 +01:00
commit cb7612851f
5 changed files with 85 additions and 46 deletions

View file

@ -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' )
);
},