![]() |
Mods called by multiple hooks
I have a mod that I would like to be called at two different hook points.
The mod itself does some work on new thread post so I have hooked into: newthread_post_start However I would also like the same mod to be executed at the following hook point: rssfeeddata_postsave Can this be done? |
Create a plugin at that hook as well. AFAIK, you cannot assign two hook locations to one plugin.
|
In the end I did what you suggested, created a plugin at each hook point I wanted and then got the plugin to require an external PHP file. It does mean that my mod is now a product file and a PHP file, however this is better than replicating the code in both hook points.
|
All times are GMT. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|