Accessing comment field data
-
I have some custom comment notifications I’m writing for a client. The function takes the comment ID and builds the notification content. I’m trying to incorporate information in the custom field, but nothing comes through.
I expected to be able to use:
get_comment_meta($comment_id, "field_key", true);
But no data comes back. Was I right to expect this to work? Is the field data stored differently?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Accessing comment field data’ is closed to new replies.