• I tried using the code below but it only allow me to add one new icon. Whenever i tried to use it again, it just overwrites the previous one.

    function 123_edd_payment_icon($icons) {
        $icons['url/to/your/image/icon.png'] = 'Payment1';
        return $icons;
    }
    add_filter('edd_accepted_payment_icons', '123_edd_payment_icon');
    
    function 456_edd_payment_icon($icons) {
        $icons['url/to/your/image/icon.png'] = 'Payment2';
        return $icons;
    }
    add_filter('edd_accepted_payment_icons', '456_edd_payment_icon');

    Sorry im very new with this, any help is appreciated.

    Thank you.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add multiple payment gateway icons?’ is closed to new replies.