JSM's Show Comment Metadata
Plugin Name | JSM Show Comment Metadata |
---|---|
Summary | Show comment metadata in a metabox when editing comments - a great tool for debugging issues with comment metadata. |
Stable Version | 4.6.1 |
Requires PHP | 7.4.33 or newer |
Requires WordPress | 5.9 or newer |
Tested Up To WordPress | 6.7.1 |
Contributors | jsmoriss |
License | GPLv3 |
Tags / Keywords | comments, custom fields, metadata, debug, inspector |
The JSM Show Comment Metadata plugin displays comment meta keys and their unserialized values in a metabox at the bottom of comment editing pages.
There are no plugin settings - simply install and activate the plugin.
Filter the comment meta shown in the metabox:
'jsmscm_metabox_table_metadata' ( array $metadata, $comment_obj )
Array of regular expressions to exclude meta keys:
'jsmscm_metabox_table_exclude_keys' ( array $exclude_keys, $comment_obj )
Capability required to show comment meta:
'jsmscm_show_metabox_capability' ( 'manage_options', $comment_obj )
Capability required to delete comment meta:
'jsmscm_delete_meta_capability' ( 'manage_options', $comment_obj )
Icon for the delete comment meta button:
'jsmscm_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )