Change “Proceed to PayPal” Button Text in WooCommerce Checkout

This changes the button text on the WooCommerce checkout page from “Proceed to PayPal” to “Purchase”. You can change Purchase on line 6 to your desired text.

/* Change the "Proceed to PayPal" button text in the WooCommerce checkout screen
 */
function custom_paypal_button_text( $translated_text, $text, $domain ) {
	switch ( $translated_text ) {
		case 'Proceed to PayPal' :
			$translated_text = __( 'Purchase', 'woocommerce' );
			break;
	}
	return $translated_text;
}
add_filter( 'gettext', 'custom_paypal_button_text', 20, 3 );

See more:

By

Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this:

[code]

YOUR CODE HERE 

[/code]