View Full Version : Hook for every page
mikelbeck
12-13-2005, 05:50 PM
I'm working on a plugin that has some code that has to run on every page. What would be the best "hook" to use for that?
noppid
12-13-2005, 08:24 PM
Hook Location : global_start
mikelbeck
12-14-2005, 12:28 AM
Hook Location : global_start
That works. Thanks!
akanevsky
12-14-2005, 12:42 AM
That is not the most global hook. global_start only works for frontend, not for admincp... init_startup is the global hook. However, you should usually use global_start (for most of the needs).
mikelbeck
12-14-2005, 12:48 AM
That is not the most global hook. global_start only works for frontend, not for admincp... init_startup is the global hook. However, you should usually use global_start (for most of the needs).
For what I'm doing, global_start would work just fine. Thanks for the info, though. ;-)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.