[wp-hackers] Best practice: access plugins php files

scribu scribu at gmail.com
Tue Aug 10 23:49:06 UTC 2010


On Wed, Aug 11, 2010 at 2:34 AM, Lox <lox.dev at knc.nc> wrote:

> Should I call it directly like this:
> /wp-content/plugins/myplugin/ajax.php or is there a preferred way ?
>

The recommended way is to use the ajax hooks in wp-admin/admin-ajax.php


-- 
http://scribu.net


More information about the wp-hackers mailing list