View Full Version : first and last hooks
testbot
08-13-2009, 01:01 PM
what are the very first and the very last hooks?
we're working on a load time plug-in like microstats but not nearly as detailed.
thanks!
Lynne
08-13-2009, 02:14 PM
Turn on debug mode and take a look at the list of hooks called on the bottom of the page. The last hook called is going to be different for every page, although I would guess init_startup would be the first for most.
testbot
08-13-2009, 02:36 PM
as always, thank you!
--------------- Added 1250195791 at 1250195791 ---------------
ya know that was the first time i ever turned debug on. i don't suppose there's a simple way to get just the load time info from debug w/o turning on debug?
i mean why reinvent the wheel right? i would use microstats but i won't edit the core code. i hate looking up changes we made when we do updates.
thanks!
--------------- Added 1250224857 at 1250224857 ---------------
oh, found this and it worked.
https://vborg.vbsupport.ru/showthread.php?t=82900
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.