Archived topic
Hook type in elements list
4 replies · Started by Andreas on May 29, 2019
I would appreciate it if the list of hook elements would indicate which hook it is ("before_header" i.e.). Can an additional column be introduced there? This would immediately improve the overview of the position of the elements.
Hi there,
all of the main template hooks can be seen here:
https://docs.generatepress.com/article/hooks-visual-guide/
Let me know if this helps
Thanks for your answer.
I did not mean that I want to know where which hook intervenes, but that I want to see in the list of elements (/wp-admin/edit.php?post_type=gp_elements), where each element is currently placed by me.
Example:
At the moment I see in my list of elements that:
Title: "Additional header settings" / Type: "Hook" / Location: "Entire Site" / Exclusions: "" / Users: "" / Published: "22.05.2019"
What I want to see additionally is that:
Hook: "wp_header"
Aah ok - that makes sense, yes thats a good suggestion ill get Tom's input on that.
Definitely would help. It would require a column for the Hook name even though the other Elements don't have hooks. Perhaps we could add it below the Element Type. I'll do some playing :)