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.

1 Answer 1


You should look into "URI Class"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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