Used By
Used By | Description |
---|---|
wp-includes/comment.php: wp_transition_comment_status() | Call hooks for when a comment status transition occurs. |
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.
(WP_Comment) Comment object.
File: wp-includes/comment.php
Version | Description |
---|---|
2.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_old_status_to_new_status