Change “Proceed to PayPal” Text on Checkout Button in WooCommerce

Anil kumar
/* Change the "Proceed to PayPal" button text in the WooCommerce checkout screen * Add this to your theme's functions.php file */ add_filter( 'gettext', 'custom_paypal_button_text', 20, 3 ); function custom_paypal_button_text( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Proceed to PayPal' : $translated_text = __( 'Proceed to Checkout', 'woocommerce' ); break; } return $translated_text; }

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt