Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | do_action | 1796 | /** * Fires when the comment status is in transition. * * @since 2.7.0 * * @param int|string $new_status The new comment status. * @param int|string $old_status The old comment status. * @param WP_Comment $comment Comment object. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int|string | $new_status | The new comment status. |
int|string | $old_status | The old comment status. |
WP_Comment | $comment | Comment object. |