Version Information
- Plugin Name: JSM Show Post Metadata
- Stable Version: 4.6.0
- Author: JS Morisset
- Description: Show post metadata (aka custom fields) in a metabox when editing posts / pages - a great tool for debugging issues with post metadata.
- License: GPLv3
- Requires PHP: 7.2.34 or newer
- Requires WordPress: 5.8 or newer
- Tested Up To WordPress: 6.6.1
- Last Updated: 2 months ago
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.0 (2024/08/29)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Updated the
SucomUtil
andSucomUtilWP
classes.
- Updated the
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.5.0 (2024/08/16)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Removed deprecated methods from the
SucomUtil
class.
- Removed deprecated methods from the
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.4.0 (2024/08/12)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Updated the jquery-admin-page.js functions (version 20240810).
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.3.0 (2024/04/18)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Updated the
SucomUtil
class.
- Updated the
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.2.0 (2024/03/10)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Added extra sanitation for method arguments in
SucomUtilMetabox::get_table_metadata()
. - Added extra sanitation for 'post_ID' and 'action' values in
SucomUtilWP::doing_block_editor()
.
- Added extra sanitation for method arguments in
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.1.0 (2024/02/03)
- New Features
- None.
- Improvements
- None.
- Bugfixes
- None.
- Developer Notes
- Added a new
SucomUtilWP::doing_dev()
method.
- Added a new
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
Version 4.0.0 (2024/01/20)
- New Features
- None.
- Improvements
- Allow upper case and accents in metadata keys.
- Bugfixes
- None.
- Developer Notes
- Added
$post_obj
argument tocurrent_user_can()
. - Added new
SucomUtil::sanitize_int()
method. - Added new
SucomUtil::sanitize_meta_key()
method.
- Added
- Requires At Least
- PHP v7.2.34.
- WordPress v5.8.
worked for me
I’m definitely not making full use of its potential but, for what I need it, it has proved to be dependable and very useful.
Thank you for sharing your work.
Thank you so much for this awesome plugin.
It’s great for letting me see hidden metadata without having to open up the database. Plus, it’s great for allowing non-technical users to see the information without the risk of sending them to the database.
I’ve started recently to use this plugin to discover post meta values, I must say it’s cleaner than other plugins I’ve used before.
Thanks for the latest update release 2.0.0, the ability to have post meta updated without having to load the page is pretty awesome.
I use the plugin almost everyday. I recommend it to anyone who wants to see what’s in post meta.
Keep it up!
Five stars – useful and light plugin, best for debugging hidden post meta tags! :)
Exactly what I was looking for..
Handy for all kinds of debugging.
Really helps me see what my theme and all the random plugins I have are attaching to my posts.
Another great plugin by JSM
Charles