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

Lox lox.dev at knc.nc
Tue Aug 10 23:34:38 UTC 2010


Hello,

This is a simple question but I want to be sure about it.

I have a plug in called myplugin, inside it I have an ajax.php file to
submit ajax requests.

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

Regards

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list