PayPal icon

New PayPal icon as transparent PNG image

The default Paypal image in WooCommerce is just basic JPG image.

I need new and nicer image with logos on transparent background. The most easy way is to put little code snippet into your theme’s functions.php

//New PayPal icon
function new_paypal_icon() {
return '/wp-content/uploads/pp.png';} //place where is uploaded icon
add_filter( 'woocommerce_paypal_icon', 'new_paypal_icon' );