Extension Hooks

forum_topics_loop_start

Hook Added in Version:

EE 1.5.1

Hook File Location:

mod.forum_core.php

Hook Description:

Modify the topic row template and data before any processing takes place

Hook Parameters

  • $this - The currently instantiated Forum Core object
  • $query->result - array of all of the topics
  • $row - The data for this topic
  • $temp - The yet-to-be-processed template

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['forum_topics_loop_start']))
{
 $temp = $EXT->call_extension('forum_topics_loop_start', $this, $query->result, $row, $temp);
 if ($EXT->end_script === TRUE) return;
}