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 int|string
The new comment status.
$old_status int|string
The old comment status.
$comment WP_Comment
Comment object.

Top ↑

Source

File: wp-includes/comment.php. View all references

do_action( 'transition_comment_status', $new_status, $old_status, $comment );


Top ↑

Changelog

Changelog
Version Description
2.7.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.