• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Hooks and listeners?

Morgain

Well-known member
#1
Could someone please explain (or point me at a really SIMPLE explanation) about
a) hooks
b) listeners

i.e. useful XF funny stuff.
 

Jake Bunce

XenForo moderator
Staff member
#2
Template hooks allow you to modify the final output of a piece of a template before it is displayed on the page. This can allow you to make html changes without modifying the templates.

Listeners allow you to modify the PHP code to change or add functionality to your forum.