• Resolved ngvtech

    (@ngvtech)


    I created a hook in a theme which starts a query screen on a database. I would like to restrict the functionality to logged in users. How do I do this as apparently tags are not processed. Which functions should I use to check the login status / roles? Could somebody point me to the right functions in the manuals?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘check restriction from theme hook’ is closed to new replies.