do_action( 'transition_comment_status', int|string $new_status , int|string $old_status , WP_Comment $comment )
Fires when the comment status is in transition.
Parameters
- $new_status
-
The new comment status.
- $old_status
-
The old comment status.
- $comment
-
Comment object.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |