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

Lox lox.dev at knc.nc
Wed Aug 11 00:02:59 UTC 2010


2010/8/11 scribu <scribu at gmail.com>:
> The recommended way is to use the ajax hooks in wp-admin/admin-ajax.php

I know that for AJAX, thks. Maybe it was not the best example...

So, I have a help.php in my plug-in dir witch get called by thickbox
as an iframe. This file provides help for form fields: example,
help.php?field=password. So basically, it does not need any wordpress
thing.

Should I access it like this:
wp-content/plugins/myplugin/help.php?field=password ?

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list