I am making a WordPress plugin that provides updates in the widget section of the page – everything works fine. The one thing that doesn’t is the ajax callback (using load with jquery). It appears that WordPress is blocking direct access to the php file that I am trying to load (it is in /wp-content/plugins/myplugin).
How should I be doing this?
Can you not make a proxy script in the root of your site to get the output of that script by simply including it? e.g.: