Extension Hooks

main_forum_table_rows_template

Hook Added in Version:

EE 1.6.8

Hook File Location:

mod.forum_core.php

Hook Description:

Allows modifying of the forum_table_rows template

Hook Parameters

  • $this - the Forum class object
  • $table_rows - the unparsed forum table rows template
  • $row - array of data for current row
  • $markers - array of topic markers
  • $read_topics - array of topics read by current visitor

Hook Returns Data?

Yes

Appearance of Hook in the Code

if ($EXT->active_hook('main_forum_table_rows_template') === TRUE)
{
	$table_rows = $EXT->universal_call_extension('main_forum_table_rows_template', $this, $table_rows, $row, $markers, $read_topics);
	if ($EXT->end_script === TRUE) return $table_rows;
}