A simple, powerful and independent e-commerce platform.
Sell anything with ease.

Replace Classic Commerce default PayPal icon

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

/*
 * Replace Classic Commerce default PayPal icon
 */

add_filter('woocommerce_paypal_icon', 'cc_custom_paypal_checkout_icon');

function cc_custom_paypal_checkout_icon() {

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

}
View Raw Code ID: 1111