On this page
do_action( 'unspammed_comment', string $comment_id, WP_Comment $comment )
Fires immediately after a comment is unmarked as Spam.
Parameters
$comment_idstring-
The comment ID as a numeric string.
$commentWP_Comment-
The comment unmarked as spam.
Source
File: wp-includes/comment.php. View all references
do_action( 'unspammed_comment', $comment->comment_ID, $comment );
Related
Used By
| Used By | Description |
|---|---|
| wp_unspam_comment() wp-includes/comment.php | Removes a comment from the Spam. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/unspammed_comment