Change the PayPal Icon on Checkout Page

A simple function to solve a common problem: “How can I alter the PayPal icon?” Here’s a fast PHP fix if you’re having the same issue.

add_filter( 'woocommerce_paypal_icon', 'codeithub_replace_paypal_icon' );
function codeithub_replace_paypal_icon() {
   return '';


Default PayPal Icon


Changed PayPal Icon
See also  Change number of products display in WooCommerce product listing page

Leave a Reply