Used By
Used By | Description |
---|---|
wp-includes/comment.php: wp_set_comment_status() | Sets the status of a comment. |
wp-includes/comment.php: wp_delete_comment() | Trashes or deletes a comment. |
Fires immediately before transitioning a comment’s status from one to another in the database.
(int) Comment ID.
(string|bool) Current comment status. Possible values include 'hold', 'approve', 'spam', 'trash', or false.
File: wp-includes/comment.php
Version | Description |
---|---|
1.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_set_comment_status