delete post meta by AJAX
Your problem is global $post. You have to understand that any ajax call, is a new http request, that has nothing to do with the page that send the ajax request. If you want to pass information from the page that send the request to the page that receive the request, you have to pass … Read more