Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 2.77 KB

README.md

File metadata and controls

57 lines (37 loc) · 2.77 KB

JSM Show User Metadata

Plugin NameJSM Show User Metadata
SummaryShow user metadata in a metabox when editing users - a great tool for debugging issues with user metadata.
Stable Version4.6.0
Requires PHP7.4.33 or newer
Requires WordPress5.9 or newer
Tested Up To WordPress6.7.0
Contributorsjsmoriss
LicenseGPLv3
Tags / Keywordsusers, custom fields, metadata, profile, inspector

Description

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.

Available Filters for Developers

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' )

Related Plugins