Dynamically Change Selected Admin Menu
-
Hi
I am currently writing a plugin that has two pages.
Page one is a table to view information and page two is a form to post information to a DB which will then be displayed in the table of page one.
When I post my form on page two I check to see if all the data validates and if it does I call the function to display page one, where the user will now see there latest entry.
The only problem with this is the admin menu still has the “current” class on the li tag of page two maiking it look like you are actually on page two.
Is there any way to dynamically override the menu and say actually I am on page one?
- The topic ‘Dynamically Change Selected Admin Menu’ is closed to new replies.