Thread Rating:
11-14-2026, 02:18 PM
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
Remember: _activate() should be reversible, _install() owns permanent structures.
Hooks are the heart of MyBB plugins — is where everything starts.
I keep a list of essential plugins and thought I would share it here.
Remember: _activate() should be reversible, _install() owns permanent structures.
Hooks are the heart of MyBB plugins —
Code: PHP
$plugins->add_hook('pre_output_page', 'my_func');I keep a list of essential plugins and thought I would share it here.
11-15-2026, 09:27 PM
Whitelist-based hooks debugging in class_plugins.php helped me a lot.
Nice plugin, testing it on my dev board now.
Thanks for sharing, saved me a lot of time.
Nice plugin, testing it on my dev board now.
Thanks for sharing, saved me a lot of time.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
