Is it possible to access segment or page information in the hooks?

Each hook has different parameters so I can't rely on those to get segment information.


You should look into "URI Class"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.