Created
March 26, 2015 09:10
-
-
Save frankschrijvers/81406ea8f7c09f6e22b4 to your computer and use it in GitHub Desktop.
Replace PayPal logo WooCommerce
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
//Custom icon for PayPal payment option on WooCommerce checkout page. | |
function wpstudio_extended_paypal_icon() { | |
// picture of accepted credit card icons for PayPal payments | |
return get_stylesheet_directory_uri() .'/images/paypal.png'; | |
} | |
add_filter( 'woocommerce_paypal_icon', 'wpstudio_extended_paypal_icon' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment