Show user metadata in a metabox when editing users - a great tool for debugging issues with user metadata.
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' )
Version components: {major}.{minor}.{bugfix}[-{stage}.{level}]
Version 4.3.0 (2024/04/18)
SucomUtil
class.Version 4.2.0 (2024/03/10)
SucomUtilMetabox::get_table_metadata()
.SucomUtilWP::doing_block_editor()
.Version 4.1.0 (2024/02/03)
SucomUtilWP::doing_dev()
method.Version 4.0.0 (2024/01/20)
$user_obj
argument to current_user_can()
.SucomUtil::sanitize_int()
method.SucomUtil::sanitize_meta_key()
method.