Extension Hooks

comment_form_hidden_fields

Hook Added in Version:

1.4.0

Hook File Location:

mod.comment.php

Hook Description:

Add/Remove Hidden Fields for Comment Form

Hook Parameters

  • $hidden_fields - The current array of hidden fields for the comment form

Hook Returns Data?

Yes

Appearance of Hook in the Code

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