[wp-hackers] ajax to call function in theme

Sharon Chambers sharon at BrewerRadio.com
Thu Oct 29 20:14:00 UTC 2009


Gotcha.  Thanks for clarifying.


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Otto
Sent: Thursday, October 29, 2009 4:07 PM
To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] ajax to call function in theme

That should probably be clarified then. If you're going to send AJAX
requests to separate files, then those separate files have absolutely
no visibility to any part of WordPress at all.

The normal case should be the action method, because you probably want
to access WordPress or the database, in some manner.


-Otto
Sent from Memphis, TN, United States




More information about the wp-hackers mailing list