![]() |
inlinemod_dodeleteposts hook is not working
I have added this in a plugin for the "inlinemod_dodeleteposts" hook:
PHP Code:
However, the plugin is not being run. The execution of the code is not interrupted, the plugin is not executed. If I add the code below or above the hook line in inlinemod.php, I get the expected result. So the hook must be disfunctional in vb3.8.7 Patch 2. How can I fix it? |
I tested it and it works as expected. Is that the only code in your plugin? I think if there's other code that has a syntax error then none of it will be executed.
|
Interesting. There was other code after the die statement. Once I removed it, it worked.
I did not know that an error will stop the plugin. Good to know. |
All times are GMT. The time now is 12:48 AM. |
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:
|