Summery Summery
Fires when the status of a specific comment type is in transition.
Syntax Syntax
Description Description
The dynamic portions of the hook name, $new_status
, and $comment->comment_type
, refer to the new comment status, and the type of comment, respectively.
Typical comment types include an empty string (standard comment), ‘pingback’, or ‘trackback’.
Parameters Parameters
- $comment_ID
-
The comment ID.
- $comment
-
Comment object.
Source Source
File: wp-includes/comment.php
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |