Skip to main content

Replied to a post on :

I don't believe so. There have been times where I've needed access to these in plugin init hooks, and this is before there's a current page defined. I've had to fall back to using the unfiltered variables directly, which is less than idea.

So, current page either needs to be instantiated before plugin hooks are registered, or we need to move input functions somewhere else.