Fires at the bottom of the comment form, inside the closing form tag.
Parameters
$post_idint- The post ID.
Source
do_action( 'comment_form', $post_id );
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
| CARVIEW |
Fires at the bottom of the comment form, inside the closing form tag.
$post_idintcomment_form is a template hook triggered at the bottom of a form rendered by comment_form() right before the closing </form>.
Functions hooked to this action receive the post ID as a parameter.
do_action( 'comment_form', $post_id );
| Used by | Description |
|---|---|
comment_form()wp-includes/comment-template.php | Outputs a complete commenting form for use within a template. |
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
User Contributed Notes