Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using the pmpro_paypal_button_image filter to change the PayPal button image on the PMPro checkout page.
/*
Add this code to your active theme's functions.php or a custom plugin
to change the PayPal button image on the PMPro checkout page.
*/
function my_pmpro_paypal_button_image($url)
{
return "https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-large.png";
}
add_filter('pmpro_paypal_button_image', 'my_pmpro_paypal_button_image');
@solhuebner

This comment has been minimized.

Copy link

@solhuebner solhuebner commented Aug 12, 2014

Thank you for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment