![]() |
Custom Hooks
Im making a plugin, for the first time, and I need to use a hook. The hook isnt available where I need it to be so I need to add a custom one. This is possible manually but how would I do it in such a way that when I export it to share with other people the custom hook goes with it.
Does that make sense? Thanks :) |
To add custom hook locations to a efault vB file, you will need a code edit.
|
Is it possible to put this in the XML file anywhere so when another person uploads it they will have the code edit too?
|
No, this requires a manual code edit.
|
Ah...
Ill explain my situation. Hopefully its possible... in includes/adminfunctions_templates.php it creates a CSS file. What I need to do is apply a function I have made to this CSS file before it is either saved to the database or written to a CSS file in clientscript. Is this possible with the default hook setup? |
There are a number of hooks available in that script.
|
All times are GMT. The time now is 02:33 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:
|