Archived topic
Dynamic hooks
1 reply · Started by David on July 2, 2020
Hi, Astra has functionality called "Advanced Hooks". It lets you display content you put in hooks dynamically based on user roles or specific pages for example. Does generate press have this functionality? If not, would I have to include those rules in the php code I put in the hooks? If so, could you tell me where I could find documentation on this so I could learn to write these rules in php? Thank you!
Hi there,
Have you checked the hook element yet?
https://docs.generatepress.com/article/hooks-element-overview/
The display rule should be what you are looking for.