wp_ajax_[service] returning 0

According to the WordPress documentation, you should call die() at the end of your PHP function to return proper results.

Leave a Comment