Replace PayPal Icon in WooCommerce

Here’s a quick and simple snippets for those of you who dislike the default PayPal icon used in WooCommerce plugin and want to switch it with another image.

// Replace PayPal icon in WooCommerce
function risbl_paypal_checkout_icon() {
 return ''; // write your own image URL here
add_filter( 'woocommerce_paypal_icon', 'risbl_paypal_checkout_icon' );

Simply replace the image URL with your own custom image URL.

 947 total views,  1 views today

Leave a Comment

Your email address will not be published. Required fields are marked *