spammed_comment

spammed_comment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('spammed_comment') is found 1 times:

  • /wp-includes/comment.php line 1679
    		 *
    		 * @param int        $comment_id The comment ID.
    		 * @param WP_Comment $comment    The comment marked as spam.
    		 */
    		do_action( 'spammed_comment', $comment->comment_ID, $comment );
    
    		return true;
    	}
    
    	return false;
    }
    

See this hook used in plugins: