Created
May 9, 2020 19:13
-
-
Save Oscar-Abad-Folgueira/ac697367714c1a9b654c2387e83d40e5 to your computer and use it in GitHub Desktop.
WooCommerce Snippet: Cambiar icono de paypal
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
<?php | |
/** | |
* @snippet WooCommerce Snippet: Cambiar icono de paypal | |
* @author Oscar Abad Folgueira | |
* @author_url https://www.oscarabadfolgueira.com | |
* @snippet_url https://www.oscarabadfolgueira.com/woocommerce-snippet-cambiar-icono-paypal/ | |
*/ | |
function oaf_change_paypal_icon_image() { | |
return "http://www.oscarabadfolgueira.com/wp-content/xxxxx/icono-paypal-tarjetas.png"; | |
} | |
add_filter( 'woocommerce_paypal_icon', 'oaf_change_paypal_icon_image' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment