comment_form action-hook . WP 1.5.0
Fires at the bottom of the comment form, inside the closing form tag.
Usage
add_action( 'comment_form', 'action_function_name_6953' ); function action_function_name_6953( $post_id ){ // action... }
- $post_id(int)
- The post ID.
Changelog
Since 1.5.0 | Introduced. |
Where the hook is called
comment_form
wp-includes/comment-template.php 2707
do_action( 'comment_form', $post_id );
Where in WP core the hook is used WordPress
wp-includes/comment-template.php 368
add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' );