Extension Hooks

comment_entries_comment_format

Hook Added in Version:

1.4.0

Hook File Location:

mod.comment.php

Hook Description:

Do whatever you want to the comment variable

Hook Parameters

  • $row - The data for the current comment

Hook Returns Data?

Yes

Appearance of Hook in the Code

if (isset($EXT->extensions['comment_entries_comment_format']))
{
 $comment = $EXT->call_extension('comment_entries_comment_format', $row);
 if ($EXT->end_script === TRUE) return;
}