[ticket/13134] Add core event to the root of the function display_forums()

<a href="https://tracker.phpbb.com/browse/PHPBB3-13134">PHPBB3-13134</a>.
please add the function parameters aswell