Custom GET Parameters In Plugin’s Admin Page


In my plugin’s options page, I’d like to have custom GET parameters. WordPress already has a ?page=<slug> GET parameter, so simply linking to something like ?myparameter=value won’t work.

I though of reading the page parameter, and then linking to something like: ?page=<slug>&myparameter=value. This seems workable, but I don’t know if its the best practice. The complexity of my plugin really doesn’t warrant sub-pages for now.

So is this the best practice or am I missing something?

AgilE 10 years 2012-10-30T06:54:15-05:00 0 Answers 70 views 0

Leave an answer