Created
February 13, 2020 05:19
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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