Topic Closed
Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

I would like to add a hook for the action GetContent_After, but I don't know, what and where should I write. What commands or directives? must be written in the Addon.ini file and what in gadget.php script? Some example please... thanks.

5 years ago#2077

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Well, all clear. First I thought, to use the function gpPlugin::Action('GetContent_After'); as shown here, but it is an example of how does the hooks work. The solution is alike described here:

Addon.ini

[GetContent_After]
script = ccm_gadget.php
method = ccm_gadget::GetCookies

Edited: 5 years ago#2092

Topic Closed

 

News

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

Typesetter 5.0.1
3/28/2016

Typesetter 5.0.1 is now available for download. 5.0.1 includes fixes for bugs reported ... Read More

More News

Les sites de terenez.com

Web hosting et services en ligne, votre site Internet à partir de 25€/an *Aide gp|Easy en français

Find out more about our Provider Spotlight

Log In

  Register