jsm-show-term-meta

JSM's Show Term Metadata

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

JSM Show Term Metadata

Plugin NameJSM Show Term Metadata
SummaryShow term metadata in a metabox when editing terms - a great tool for debugging issues with term metadata.
Stable Version4.6.2
Requires PHP7.4.33 or newer
Requires WordPress5.9 or newer
Tested Up To WordPress6.7.1
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordstaxonomy, terms, metadata, categories, tags

Description

The JSM Show Term Metadata plugin displays term (ie. categories, tags, and custom taxonomies) meta keys and their unserialized values in a metabox at the bottom of the term editing page.

There are no plugin settings - simply install and activate the plugin.

Shows Yoast SEO Term Meta

Yoast SEO stores its term (ie. categories, tags, and custom taxonomies) metadata in the WordPress options table, not the term meta table.

The JSM Show Term Metadata plugin can read and display Yoast SEO's term metadata, but it cannot be deleted (as it does not reside in the WordPress term meta table).

Available Filters for Developers

Filter the term meta shown in the metabox:

'jsmstm_metabox_table_metadata' ( array $metadata, $term_obj )

Array of regular expressions to exclude meta keys:

'jsmstm_metabox_table_exclude_keys' ( array $exclude_keys, $term_obj )

Capability required to show term meta:

'jsmstm_show_metabox_capability' ( 'manage_options', $term_obj )

Show term meta for a taxonomy (defaults to true):

'jsmstm_show_metabox_taxonomy' ( true, $taxonomy )

Capability required to delete term meta:

'jsmstm_delete_meta_capability' ( 'manage_options', $term_obj )

Icon for the delete term meta button:

'jsmstm_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )

Related Plugins