How to link to images in my plugin regardless of the plugin folder’s name

I am not sure about this specific example but in general plugins_url() is fitting function for this.

Example from Codex:

plugins_url('/images/wordpress.png', __FILE__);

Leave a Comment

tech