Thread Rating:
05-15-2026, 02:58 AM
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
I keep a list of essential plugins and thought I would share it here.
Hooks are the heart of MyBB plugins — is where everything starts.
Remember: _activate() should be reversible, _install() owns permanent structures.
I did a bit of searching but could not find a recent thread on this, so here we go.
I keep a list of essential plugins and thought I would share it here.
Hooks are the heart of MyBB plugins —
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');Remember: _activate() should be reversible, _install() owns permanent structures.
I did a bit of searching but could not find a recent thread on this, so here we go.
« Next Oldest | Next Newest »
Messages In This Thread
Released: simple shoutbox plugin — follow-up - by admin - 05-15-2026, 02:58 AM
[No subject] - by BinaryBen - 05-15-2026, 06:18 AM
[No subject] - by NeonNia - 05-16-2026, 03:12 AM
[No subject] - by TechTress - 05-17-2026, 01:17 PM
[No subject] - by TechTress - 05-18-2026, 11:37 PM
[No subject] - by PatchPat - 05-20-2026, 03:33 PM
Users browsing this thread: 2 Guest(s)
