The JSM Show Post Metadata plugin displays post (ie. posts, pages, and custom post types) meta keys (aka custom field names) and their unserialized values in a metabox at the bottom of the post editing page.
There are no plugin settings - simply install and activate the plugin.
Available Filters for Developers
Filter the post meta shown in the metabox:
'jsmspm_metabox_table_metadata' ( array $metadata, $post_obj )
Array of regular expressions to exclude meta keys:
'jsmspm_metabox_table_exclude_keys' ( array $exclude_keys, $post_obj )
Capability required to show post meta:
'jsmspm_show_metabox_capability' ( 'manage_options', $post_obj )
Show post meta for a post type (defaults to true):
'jsmspm_show_metabox_post_type' ( true, $post_type )
Capability required to delete post meta:
'jsmspm_delete_meta_capability' ( 'manage_options', $post_obj )
Icon for the delete post meta button:
'jsmspm_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )
Related Plugins
Version Numbering
Version components:
{major}.{minor}.{bugfix}[-{stage}.{level}]
- {major} = Major structural code changes and/or incompatible API changes (ie. breaking changes).
- {minor} = New functionality was added or improved in a backwards-compatible manner.
- {bugfix} = Backwards-compatible bug fixes or small improvements.
- {stage}.{level} = Pre-production release: dev < a (alpha) < b (beta) < rc (release candidate).
Repositories
Changelog / Release Notes
Version 4.6.1 (2024/11/25)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Added a check for
current_user_can()
in JsmSpmPost->ajax_get_metabox()
.
- Updated the
SucomUtil
and SucomUtilWP
classes.
- Requires At Least
- PHP v7.4.33.
- WordPress v5.9.