WordPress at a glance
action is not described

spammed_comment action-hook . WP 2.9.0

Fires immediately after a comment is marked as Spam.

Usage

add_action( 'spammed_comment', 'action_function_name_5924', 10, 2 );
function action_function_name_5924( $comment_id, $comment ){
	// action...
}
$comment_id(int)
The comment ID.
$comment(WP_Comment)
The comment marked as spam.

Notes

  • Since 4.9.0 Added the $comment parameter.

Where the hook is called

wp_spam_comment()
wp-includes/comment.php 1487
do_action( 'spammed_comment', $comment->comment_ID, $comment );

Where the hook is used (in WP core)

Does not used.