I have made a admin page linked to a Settings -> submenu_item. This page looks like this:


On this page, I have a form which I want to submit to this same page. How can I do this? It is a bit of complication, since this page already has GET parameters in its URL, in form of the query string. So, I couldn’t POST or GET to it easy, because it just redirects to the base URL, which is:


I tried putting these in action, and none worked for me:

action="<?php echo($_SERVER["PHP_SELF"]);?>"

Read more here: How can I POST or GET to the same admin page from which I am POST-ing or GET-ing


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: