I'm making a few changes to the infamous badges plugin. I need to add images and read them from the list of badges page.
This is a sample of what I'm looking for:
It is actually currently working but I have hardcoded the path to the check image and I need some way to get it decently and relatively.
Is there any function that would allow this?
EG: I would like to store the images (and any other resource) in a folder such as "qa-plugin/q2a-badges/images/*" and then retrieve them using something like "qa_get_plugin_resource('images/check.png')" (not sure if the plugin should be included there or could be inferred)