Hi,
I am developing a plugin that needs to send GET variables to its admin pages for editing database values. The plugin page edits "events" that users have entered into a database. I need to send the "event id" through the URL, so the page knows what event to load for editing.
The problem is this. When a plugin creates a custom admin page, wordpress loads that page through a GET variable, like admin.php?page=mypage. The problem is that, when I try to send a variable through a URL, I lose the existing GET variables in the URL, so I end up with something like admin.php?event_id=2. Wordpress doesn't understand this, and so doesn't load my admin page.
Is there an easy way I can add on custom GET variables, without interrupting wordpress's needs? I want to end up with something like admin.php?page=mypage&event_id=2.