Plugin Name | JSM Show User Metadata |
---|---|
Summary | Show user metadata in a metabox when editing users - a great tool for debugging issues with user metadata. |
Stable Version | 4.6.0 |
Requires PHP | 7.2.34 or newer |
Requires WordPress | 5.8 or newer |
Tested Up To WordPress | 6.6.1 |
Contributors | jsmoriss |
License | GPLv3 |
Tags / Keywords | users, custom fields, metadata, profile, inspector |
The JSM Show User Metadata plugin displays user profile meta keys and their unserialized values in a metabox at the bottom of the user profile editing page.
There are no plugin settings - simply install and activate the plugin.
Filter the user meta shown in the metabox:
'jsmsum_metabox_table_metadata' ( array $metadata, $user_obj )
Array of regular expressions to exclude meta keys:
'jsmsum_metabox_table_exclude_keys' ( array $exclude_keys, $user_obj )
Capability required to show user meta:
'jsmsum_show_metabox_capability' ( 'manage_options', $user_obj )
Show user meta for a screen base (defaults to true):
'jsmsum_show_metabox_screen_base' ( true, $screen_base )
Capability required to delete user meta:
'jsmsum_delete_meta_capability' ( 'manage_options', $user_obj )
Icon for the delete user meta button:
'jsmsum_delete_meta_icon_class' ( 'dashicons dashicons-table-row-delete' )