All Questions
1 question
0
votes
1
answer
2k
views
Retrieve post in AJAX Callback
I have a JS file that triggers a PHP callback file. The PHP file is supposed to work on the Post that is currently opened (wp-admin/post.php).
I do not want the JS file to pass the post id though ...