Thread Rating:
08-18-2026, 01:16 PM
Returning true from a by-value hook replaces the argument; by-reference hooks mutate in place — check the call site.
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.
Maybe this has been discussed before, but I could not find anything recent.
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.
Maybe this has been discussed before, but I could not find anything recent.
08-19-2026, 03:46 AM
Nice plugin, testing it on my dev board now.
That hooks explanation finally made it click for me.
Bumping this because I ran into the same thing today.
That hooks explanation finally made it click for me.
Bumping this because I ran into the same thing today.
08-19-2026, 10:12 AM
That hooks explanation finally made it click for me.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
I disagree slightly, but I can see where you are coming from.
Nice plugin, testing it on my dev board now.
That has been my experience as well.
I disagree slightly, but I can see where you are coming from.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)
