I’m using the Custom Comment plugin to add custom fields to my comments.
This plugin lets you define more fields for comment to let your visitors include their facebook, twitter and … in their comments
Everything is working as expected. However, the custom fields don’t show up when I edit a comment in the admin side. Currently it only shows the default fields – name
, email
, url
, comment
.
Is there an action or a filter that can be used to show this comments custom fields?
Inserting a meta box in the Comment edit screen is the same as in the post types screens. But it can only be placed on the wide column, the sidebar seems not to accept other boxes.
To capture the data that’s being posted, I only found the filter
comment_edit_redirect
.This has to be adapted to work with the plugin. The custom field in this example is
meta_comment_field
. See code comments: