WordPress Ajax Always returning 0
Try die() function in the end of PHP function. It will helps. UPD: Ive made some simple version of your problem code to check it and it works. I think it will helps you. You are able to change inner PHP script to your logic and it wont returns 0. PHP: function more_post_ajax(){ echo “Hello”; … Read more