MyBB Community Forums

Full Version: add forumbit hook?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can we get a new hook added to the start of the build_forumbits() function in \inc\functions_forumlist.php? Example below.

function build_forumbits($pid=0, $depth=1)
	global $fcache, $moderatorcache, $forumpermissions, $theme, $mybb, $templates, $bgcolor, $collapsed, $lang, $showdepth, $plugins, $parser, $forum_viewers;
	$forum_listing = '';

	// If no forums exist with this parent, do nothing

	$plugins->run_hooks_by_ref("build_forumbits_start", $fcache);