Опис
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
Відгуки
Учасники та розробники
“JSM Show User Metadata” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
Учасники“JSM Show User Metadata” було перекладено на 4 локалізації. Дякуємо перекладачам за їх роботу.
Перекладіть “JSM Show User Metadata” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
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.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
$user_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.