Extension Hooks

comment_preview_comment_format

Hook Added in Version:

1.4.0

Hook File Location:

mod.comment.php

Hook Description:

Play with the tagdata contents of the comment preview

Hook Parameters

  • $query->row - The data for the comment being previewed

Hook Returns Data?

Yes

Appearance of Hook in the Code

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