New answers tagged


As far as I am aware, there is no native way undo menu changes. However I did find this plugin Menus History, however I haven't tested it and it will only save changes in the future


The function submit_button() does generate: <input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes" /> As seen on the codex documentation page. Which gives you the possibility to check for a $_POST or, depending on the form, $_GET or generic $_REQUEST variable - to be exact for $_POST[ 'submit' ] or $_GET[ ...

Top 50 recent answers are included