Find the method which AJAX GET calls
I need to find bug in a Wordpress site.
But I can't find the method (function) that the AJAX GET call runs on backend.
That's not admin part of website, but front end part of website.
important
I found the url where AJAX call is sent, but don't know how to find the method/function.
code for sending AJAX call looks like this
I have code for sending XMLHttpRequest something like this:
var xhr = new XMLHttpRequest();
xhr.open("GET", "http://themes.qnimate.com/qplog/wp-admin/admin-ajax.php?action=logged_in_check");
xhr.setRequestHeader("X_REQUESTED_WITH","xmlhttprequest");
xhr.onload = function(){
console.log(xhr.responseText);
}
xhr.send();
There is nothing like add_action() on frontend.
What could you advise? Any technics, advices?