Replace WooCommerce default PayPal icon

This code allows you to replace the default PayPal image with one at a custom url.

		/*
 * Replace WooCommerce default PayPal icon
 */

add_filter('woocommerce_paypal_icon', 'sc_woo_custom_paypal_checkout_icon');

function sc_woo_custom_paypal_checkout_icon() {

  return 'https://classiccommerce.cc/paypal.png'; // write your own image URL here

}
	
View Raw Code ID: 91111