plugins_url() incorrectly returns a url with www subdomain
I’m working on a plugin which we’ll call “my-plugin” for the purposes of this question. The my-plugin directory looks like this: my-plugin/ |- image.jpg |- script.js |- script.php |- plugin.php |- ajax.php In script.php I have a section of code that specifies some JS. In it, I need a URL for ajax.php. e.g.: <script type=”text/javascript”> … Read more