Where can I find a list of hooks that I can use in a plugin?
Feb 22, 2003, 4:11 PM
Enthusiast (819 posts)
Feb 22, 2003, 4:11 PM
Post #2 of 3
Views: 3971
Hi grid,
Stick this code in webmail.cgi just above sub main:
Run GMail then look for a file called hooks.cfg in /path/to/admin/Plugins/GMail. That will give you a list of hooks.
I was not able to tell from the GT::Plugins::Profiler POD if this is a comprehensive list or a list of hooks only encountered while the program executed. May Brewt or Alex can clarify that for us?
Regards,
Charlie
Stick this code in webmail.cgi just above sub main:
Code:
$GT::Plugins::PROFILE = 1;I was not able to tell from the GT::Plugins::Profiler POD if this is a comprehensive list or a list of hooks only encountered while the program executed. May Brewt or Alex can clarify that for us?
Regards,
Charlie
Feb 26, 2003, 7:53 PM
Administrator (9387 posts)
Feb 26, 2003, 7:53 PM
Post #3 of 3
Views: 3926
Hi,
It only creates a list of hooks that are found during execution, not an exhaustive list.
Cheers,
Alex
--
Gossamer Threads Inc.
It only creates a list of hooks that are found during execution, not an exhaustive list.
Cheers,
Alex
--
Gossamer Threads Inc.