[wp-hackers] Plugins: Best practice for conditional loading of actions and file includes
Otto
otto at ottodestruct.com
Tue Feb 9 21:41:42 UTC 2010
On Tue, Feb 9, 2010 at 3:27 PM, Austin Matzko <austin at ilfilosofo.com> wrote:
> For front-end Ajax it's probably more reliable to post to the home URL
> or wp-load.php and have a callback attached to "init" listening for
> the requisite POST arguments.
If you're hooking to init and taking action based on variables in
POST, then it doesn't matter what URL you post to. The current URL
would be best and easiest.
-Otto
Sent from Memphis, TN, United States
More information about the wp-hackers
mailing list