Extension Hooks

forum_thread_rows_start

Hook Added in Version:

1.4.0

Hook File Location:

mod.forum_core.php

Hook Description:

Allows modifying of the thread rows template

Hook Parameters

  • $this - The currently instantiated Forum Core object
  • $template - The topics thread row template
  • $data - The data for this thread row (post)
  • $is_announcement - TRUE/FALSE
  • $thread_review - TRUE/FALSE

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['forum_thread_rows_start']))
{
 $template = $EXT->call_extension('forum_thread_rows_start', $this, $template, $data, $is_announcement, $thread_review);
 if ($EXT->end_script === TRUE) return $template;
}