pwFoo Posted April 22, 2019 Share Posted April 22, 2019 I know how to hook in page render, but what is the earliest hook into the ProcessWire page load? Should I hook (before) Page::render or is there a hookable method which executed earlier (for example if I check to skip current page load parts)? Also found Page::loaded? Link to comment Share on other sites More sharing options...
Zeka Posted April 23, 2019 Share Posted April 23, 2019 @pwFoo Maybe you can hook before ProcessPageView::execute? Link to comment Share on other sites More sharing options...
pwFoo Posted April 23, 2019 Author Share Posted April 23, 2019 Thank's, I'll test and compare the three hooks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now