Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using the pmpro_paypal_button_image filter to change the PayPal button image on the PMPro checkout page.
* Change the PayPal button image on the Paid Memberships Pro - Membership Checkout page.
* You can add this recipe to your site by creating a custom plugin
* or using the Code Snippets plugin available for free in the WordPress repository.
* Read this companion article for step-by-step directions on either method.
function my_pmpro_paypal_button_image( $url ) {
return '';
add_filter( 'pmpro_paypal_button_image', 'my_pmpro_paypal_button_image' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment