Getting the directory of another plugin
I’m writing a plugin wherein I need to get the directory of another plugin.
The only functions that I’ve found that return a plugin directory all require a file within that plugin to be passed to them (e.g. plugin_dir_path( __FILE__ );).
This obviously won’t work in my situation since I don’t have the plugin’s file.
Thanks in advance.
- The topic ‘Getting the directory of another plugin’ is closed to new replies.