Extension Hooks

insert_comment_end

Hook Added in Version:

EE 1.6.1

Hook File Location:

mod.comment.php

Hook Description:

More emails, more processing, different redirect at the end of the comment inserting routine

Hook Parameters

  • $data - Array of the data for the new comment
  • $comment_moderate - Whether the comment is going to be moderated
  • $comment_id - the ID of the comment (added 1.6.1)

Hook Returns Data?

No

Appearance of Hook in the Code

$edata = $EXT->call_extension('insert_comment_end', $data, $comment_moderate, $comment_id);
if ($EXT->end_script === TRUE) return;