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