Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Pierrox15

hookHeader vs HookdisplayHeader

Question

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 by Pierrox15

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
20 minutes ago, Pierrox15 said:

what is difference between this 2 hooks? 😄

hookHeader vs HookDisplayHeader

No difference, it's the same hook. hookDisplayHeader is an alias for hookHeader.  

Share this post


Link to post
Share on other sites
  • 0

You can find all alias in hook_alias table. 

I tend, to use the hook name that is also executed in the php classes.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...