In a plugin I use ajax to
get_option() which takes much longer than it has to because entire wp gets loaded.
How do I set things up so that it (my ajax) loads only what is needed? (
If you're building something for public consumption (a plugin, a theme, etc) use
Beyond that, the best you MAY be able to do is use the
If you do this outside the WP core, you'll have to guess where
Another Method is to add this code into
p.s NEVER FORGET TO GUARD and FILTER THE REQUESTS from HACKING!!!