do_action( 'comment_form', int $post_id )
Fires at the bottom of the comment form, inside the closing form tag.
Parameters
-
$post_id
int -
The post ID.
More Information
comment_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.
Source
File: wp-includes/comment-template.php
.
View all references
do_action( 'comment_form', $post_id );
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note