Gossamer Forum
Quote Reply
Plugin Hook Reference?
Where can I find a list of hooks that I can use in a plugin?
Quote Reply
Re: [grid] Plugin Hook Reference? In reply to
Hi grid,

Stick this code in webmail.cgi just above sub main:
Code:
$GT::Plugins::PROFILE = 1;
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
Quote Reply
Re: [Chaz] Plugin Hook Reference? In reply to
Hi,

It only creates a list of hooks that are found during execution, not an exhaustive list.

Cheers,

Alex
--
Gossamer Threads Inc.