Archived topic
Updated Visual Hooks
7 replies · Started by Jose on August 26, 2019
Hi, was wondering if there was an updated version of the Visual Hooks, seems like some have been added and name changes are there?
Hi there,
David suggested using the Simply Show Hooks plugin:
https://wordpress.org/plugins/simply-show-hooks/
The names shouldn't have changed though.
Which one are you referring to?
I will check it out. But I was referring to documentation... https://eqor.is/lGT1Xk shows "generate_" vs... being missing when we search in the elements hooks.
Hi there,
the generate_ is common to all GeneratePress action hooks, it is excluded from the Hook List items to make it easier to read the list and to search for them. Just remember to always omit generate_ from your search.
Ah okay. Thanks... but is the visual hook guide all the hooks that are available or does it need to be updated?
The Visual Hook guide doesn't display all of the Hooks. The ones it displays are those that are most commonly used and always present on a standard layout.
Some hooks are specific to an element that may not be present on your site.
It is something we will look at updating - in the meantime the plugin Leo mentioned is the easiest way of visually displaying Hooks that are available in your site setup.
Thanks for clarifying that David.
You're welcome