Pierrox15 Posted October 10, 2019 Posted October 10, 2019 (edited) Hello, what is difference between this 2 hooks? 😄 hookHeader vs HookDisplayHeader hookHeader is used by some plugin and override by file in a theme directory seem not work? Did you noticed that? Edited October 10, 2019 by Pierrox15
0 datakick Posted October 10, 2019 Posted October 10, 2019 On 10/10/2019 at 2:32 PM, Pierrox15 said: what is difference between this 2 hooks? 😄 hookHeader vs HookDisplayHeader Expand No difference, it's the same hook. hookDisplayHeader is an alias for hookHeader.
0 wakabayashi Posted October 10, 2019 Posted October 10, 2019 You can find all alias in hook_alias table. I tend, to use the hook name that is also executed in the php classes.
Question
Pierrox15
Hello,
what is difference between this 2 hooks? 😄
hookHeader vs HookDisplayHeader
hookHeader is used by some plugin and override by file in a theme directory seem not work?
Did you noticed that?
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now