From d7cf1c91949248222806f5a32f485b12eab8806f Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 20 Mar 2018 22:06:11 -0400 Subject: add a new hook: template_after_create (#60) --- Bugzilla/Hook.pm | 15 +++++++++++++++ Bugzilla/Template.pm | 1 + extensions/Example/Extension.pm | 13 +++++++++++++ 3 files changed, 29 insertions(+) diff --git a/Bugzilla/Hook.pm b/Bugzilla/Hook.pm index d6ba5e1d0..d8ae67463 100644 --- a/Bugzilla/Hook.pm +++ b/Bugzilla/Hook.pm @@ -1479,6 +1479,21 @@ look at the code for C in L.) =back +=head2 template_after_create + +This hook allows you to manipulate the Template object before it is used. +You can use this to define new vmethods or filters in extensions. + +Params: + +=over + +=item C