Proper way to handle GET and POST request in WordPress
<?php add_action(‘init’,’handle_your_reqest’); function handle_your_request(){ if (isset($_REQUEST[‘your-key’])): // Your Code Here exit; endif; }
Read more<?php add_action(‘init’,’handle_your_reqest’); function handle_your_request(){ if (isset($_REQUEST[‘your-key’])): // Your Code Here exit; endif; }
Read more