Created
September 20, 2017 17:26
-
-
Save psaikali/5b9b38672c022e1c938c03eb3abc2200 to your computer and use it in GitHub Desktop.
Changer le logo PayPal afficher sur la page Commande du tunnel d'achat 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
<?php | |
/** | |
* Changer le logo PayPal afficher sur la page Commande du tunnel d'achat WooCommerce | |
* Ici, on affiche l'image nouveau-paypal-logo.png stockée dans le dossier /images/ du thème WordPress en cours d'utilisation | |
*/ | |
function msk_change_paypal_logo() { | |
return get_template_directory_uri() . '/images/nouveau-paypal-logo.png'; | |
} | |
add_filter('woocommerce_paypal_icon', 'msk_change_paypal_logo'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment