I've added another field to the standard comments field. I want the data in this field to be saved to the comments meta table with the ID of the comment it belongs to.
I'm trying to make use of the update_comment_meta() and get_comment_meta() functions.
So far, I've not been able to find any documentation here on WordPress, which has been a problem. However, I've managed to get update_comment_meta() working and writing data to the comments meta table.
Problem is, I can't retrieve it — the reason being I don't know what the ID is of the comment I'm attempting to associate the meta data with.
I've written up my code into a Plugin, so I'm calling from within there.
Any ideas how I grab the ID of the comment?