jsm-show-comment-meta

JSM's Show Comment Metadata

View the Project on GitHub jsmoriss/jsm-show-comment-meta

JSM Show Comment Metadata

Plugin NameJSM Show Comment Metadata
SummaryShow comment metadata in a metabox when editing comments - a great tool for debugging issues with comment metadata.
Stable Version4.6.0
Requires PHP7.4.33 or newer
Requires WordPress5.9 or newer
Tested Up To WordPress6.7.0
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordscomments, custom fields, metadata, debug, inspector

Description

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.

Available Filters for Developers

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' )

Related Plugins