Support » Plugin: WooCommerce PayPal Payments » Logo image settings

Viewing 1 replies (of 1 total)
  • Plugin Support Joost van de Vijver


    Hello @strarsis

    There is no standard function in our plugin for adjusting the logo. The filter we often advise the merchants to use is the following:

    function woocommerce_paypal_payments_gateway_icon( $icon, $id ) {
        if ( $id === 'ppcp-gateway' ) {
            return '<img src="" alt="PayPal Payments" />'; 
        } else {
            return $icon;
    add_filter( 'woocommerce_gateway_icon', 'woocommerce_paypal_payments_gateway_icon', 10, 2 );

    However, I am not entirely sure that this is what you are asking for since this filter was already in the mentioned related thread. Please let me know what you are looking for.

    Kind regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.