Plugin Path
-
I would like to embed an image in my plugin (widget). The image resides in the plugin folder (wp-content/plugins/myplugin/image.gif). How can I reference the image from within my plugin without hardcoding the path?
Is there something like
get_plugin_directory()
?Thank you,
Dennis
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin Path’ is closed to new replies.