I have a small question for you. How can I dinamicaly get a plugin file path? I want to make an ajax call from a page to a file wich is in my plugins directory, and I don’t want to use wp-content/ . . . . etc Is there a way to do that? So it can work on every site. Thank you
Share
is this what you looking for:
this must be placed in your plugin file.