Quote:
Originally Posted by thiago.eec
Yes. Using get_icons('icon.png', PLUGIN_NAME) works.
You need this too:
..\resources\images\PLUGIN_NAME\icon-for-dark-theme.png
..\resources\images\PLUGIN_NAME\icon-for-light-theme.png
|
Sorry. My mistake. This does not work here!
I forgot I had another call to my custom get_icon() function when rebuilding menus.