Ajax function issue on return true and false in WordPress

Posted by Pinki | Updated on

In this example, I have shared Ajax function issue on return true and false in WordPress. Just put async: false in ajax call. And now it is working fine. Plus create an empty variable and store Boolean values in it and then after ajax call return that variable.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers