How to handle WordPress Plugin Front-end AJAX Call [duplicate]
Well, yes – there is a lot better way of doing this. First of all, you should never do any direct requests to files inside wp-content directory. Securing and hardening WordPress properly is much harder, if some plugin does such requests. And of course there is no need of doing them. WP has built-in mechanism … Read more