Fires when the comment status is in transition.
$new_statusstring$old_statusstring$commentWP_Commentwp-includes/comment.php:1898wp_transition_comment_status() * @since 2.7.0 * * @param string $new_status The new comment status. * @param string $old_status The old comment status. * @param WP_Comment $comment Comment object. */ do_action( 'transition_comment_status', $new_status, $old_status, $comment ); /** * Fires when the comment status is in transition from one specific status to another. * * The dynamic portions of the hook name, `$old_status`, and `$new_status`, * refer to the old and new comment statuses, respectively.Introduced in 2.7.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$new_status retyped from int|string to string.verified against source$old_status retyped from int|string to string.verified against source