37 reputation
7
bio website visiv.ca
location Canada
age
visits member for 1 year, 7 months
seen Apr 7 at 15:37

Apr
2
accepted Is there an admin hook that will let me read GET variable before it's too late to set the header Location
Apr
2
comment Is there an admin hook that will let me read GET variable before it's too late to set the header Location
I played around with it a bit more and I was able to use this hook as desired. Instead of reading anything inside $current_screen (which won't work because there are additional variables I need) I'm running add_query_arg() and adding an arbitrary variable. add_query_arg() returns the relative url with all variables so I can parse out the stuff I need. This is obviously a dirty method (adding arbitrary query args just to return the URL) so hopefully I can find a more elegant solution to that part. But the end result is the same, I'm able to parse out my variables early enough for a redirect.
Apr
2
revised Is there an admin hook that will let me read GET variable before it's too late to set the header Location
edited title
Apr
2
comment Is there an admin hook that will let me read GET variable before it's too late to set the header Location
Sorry, I updated it. I meant the GET vars.
Apr
2
revised Is there an admin hook that will let me read GET variable before it's too late to set the header Location
deleted 4 characters in body
Apr
2
awarded  Commentator
Apr
2
comment Is there an admin hook that will let me read GET variable before it's too late to set the header Location
This fires early enough but I don't seem able to access the GET variables (or the query vars since I guess it would be too early to access GET). Reading your answer I realize my initial question was clear enough - I wanted to access the 'page' variable as well as an additional GET variable (which I set with add_query_arg). I'm guessing there's no way to get that.
Apr
2
asked Is there an admin hook that will let me read GET variable before it's too late to set the header Location
Mar
11
comment What method should I use to store my plugin data (multi level menus with options on each item)
All the data within a given filter-set will be loaded. The user will use a shortcode to call a specific filter-set and then that filter will be generated based on the stored ordering and options.
Mar
11
asked What method should I use to store my plugin data (multi level menus with options on each item)
Dec
17
awarded  Tumbleweed
Dec
10
asked Is there something like theme test drive for plugins?
Nov
27
awarded  Teacher
Nov
16
comment How to remove trailing </li> tags from wp_nav_menu walker
When you extend a class (the way we're extending Walker_Nav_Menu) whatever functions you modify will be overridden, but the class may still contain many other functions and if you don't override them as well they will function as normal. For example, the Walker_Nav_Menu has the end_el() function. If you look at the source you'll see that this function is responsible for adding the closing </li> tag to each menu item. If you don't override this function it runs normally and does its job of adding the closing </li> tags.
Nov
16
comment When localizing a theme do I create the .mo and .po
Awesome, thanks. I just wanted to make sure I followed standard practices so users of my theme face as little friction as possible while setting it up.
Nov
16
accepted When localizing a theme do I create the .mo and .po
Nov
16
awarded  Editor
Nov
16
revised How to remove trailing </li> tags from wp_nav_menu walker
added 1405 characters in body
Nov
16
comment How to remove trailing </li> tags from wp_nav_menu walker
No, you don't add the function to the existing one, you but it below the existing one. I'll update my answer with the full code.
Nov
16
asked When localizing a theme do I create the .mo and .po