Hey guys. As of now, when I view comments on posts by going to the post directly, I see edit links on each comment so that I can easily edit it. However, I'd also like to have a delete link in case it's a muck up or something. I was trying to figure out how to construct a delete link but I wasn't able to because it needs some wpnonce parameter which I can't come up with. For example this is the URL that's on the edit comment page:
The only thing I can't come up with is the wpnonce field. Or is there a function in wordpress that constructs the delete comment URL?