A simple function for a very common issue: “I can’t find where to change the PayPal icon?”. If you have the same problem, here’s a quick PHP fix.
WooCommerce PHP Snippet: Change the PayPal Icon @ Checkout Page
Note: you can find official PayPal icons @ https://www.paypal.com/ie/webapps/mpp/logo-center
/** * @snippet Change the PayPal Icon @ Checkout Page * @how-to Get CustomizeWoo.com FREE * @author Rodolfo Melogli * @compatible WC 3.6.1 * @donate $9 https://businessbloomer.com/bloomer-armada/ */ add_filter( 'woocommerce_paypal_icon', 'bbloomer_replace_paypal_icon' ); function bbloomer_replace_paypal_icon() { return 'https://your_image_url'; }