Created
July 14, 2017 01:33
-
-
Save WPprodigy/7c0b69574988b5ce487761e2a589d262 to your computer and use it in GitHub Desktop.
WooCommerce: Change PayPal Express checkout button on cart page
This file contains hidden or 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( 'woocommerce_paypal_express_checkout_button_img_url', 'wc_ninja_change_paypal_logo', 10, 2 ) | |
function wc_ninja_change_paypal_logo( $image, $size ) { | |
return 'https://example.com/wp-content/uploads/2017/03/custom-paypal-checkout-button.jpg'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment