Skip to content

Instantly share code, notes, and snippets.

@webtoffee-git
Created February 13, 2020 05:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save webtoffee-git/f164d29dae6d3f0058a7a991150e0796 to your computer and use it in GitHub Desktop.
Save webtoffee-git/f164d29dae6d3f0058a7a991150e0796 to your computer and use it in GitHub Desktop.
Change express checkout button using Paypal express checkout for WooCommerce by WebToffee
add_filter('eh_paypal_express_checkout_button', 'webtoffee_paypal_express_checkout_button', 10, 1);
function webtoffee_paypal_express_checkout_button($url) {
$url = 'https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png'; // change this URL with the desired image URL
return $url;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment