Skip to content
Advertisement

Add an icon to custom WooCommerce payment gateway

I would like to add a custom icon to my payment gateway. I have read the WOO gateway API and have zero help. This is my code below. please help me find a functional way to include the icon so I have an icon on my front end. Thanks

JavaScript

Advertisement

Answer

Try with backslash instead of slash without concatenating the initial empty string with the variable $plugin_dir

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement