Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | do_action | 3539 | /** * Fires when a comment is attempted on a post in draft mode. * * @since 1.5.1 * * @param int $comment_post_id Post ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $comment_post_id | Post ID. |