• Resolved vandung93

    (@vandung93)


    Hello @team,

    In your plugin has filter:

    $this->icon = apply_filters('woocommerce_gateway_icon', '' . $plugin_dir . '/assets/icon.svg');

    This code is missing the second param & It;s causing php warning when the third plugins or themes add filter.

    It should be like:

    $this->icon = apply_filters('woocommerce_gateway_icon', '' . $plugin_dir . '/assets/icon.svg', $this->id);

    http://prntscr.com/110by15

    • This topic was modified 5 years, 2 months ago by vandung93.
Viewing 1 replies (of 1 total)
  • Plugin Author Crypto.com

    (@cryptocom)

    Thank you. We have got the same issue reported by our customer. We have just released v1.2.1 which includes the same change.

Viewing 1 replies (of 1 total)

The topic ‘Missing param for gateway icon filter’ is closed to new replies.