Minimal files for getting user info for Ajax plugin
-
Hi all,
Does anyone have a some minimal code that could be used in an ajax plugin to get the logged in user’s info. I’ve been using wp-config, but if you follow the code in that to wp-settings and see all the files that get included and all the unwanted code that gets executed, there’s a ton of overhead.The app I’m designing will require lots of little ajax calls. Ultimately, I want to use WordPress authentication and house the app in WordPress, but I need it to be fast and efficient. I’ve created slimmed down versions of wp-config and wp-settings that will give you the current_user object, but those still have a ton of extraneous code.
Anyone have anything that would work in this situation?
If anyone’s interested in my slimmed down files, let me know and I’ll put them on my blog.
Thanks for any help!
Byron
- The topic ‘Minimal files for getting user info for Ajax plugin’ is closed to new replies.