Get User Custom Field Values
This plugin provides a powerful widget, shortcode (with shortcode builder tool), and template tags for easily retrieving and displaying custom field values for the currently logged in user or any specified user.
Envisager une alternative
Get User Custom Field Values shows warning signs in 2026 — compare the alternatives below before installing. It runs on 80+ sites, is rated 3.7/5 and was last updated 5 years ago, and scores 28/100 on our health check.
- Petite base d'utilisateurs (80+ installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 5 ans
- Uniquement testé jusqu'à WordPress 5,8 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Get User Custom Field Values stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| custom field | >100 |
| shortcode | >100 |
| utilisateur | >100 |
| méta-utilisateur | >100 |
| widget | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 3.7 from 3 reviews
About Get User Custom Field Values
À partir du Lisezmoi officiel · v3.3Description
This plugin provides a powerful widget, shortcode (with shortcode builder tool), and template tags for easily retrieving and displaying custom field values for the currently logged in user or any specified user.
This plugin provides functionality similar to the Get Custom Field Values plugin, but for user custom fields (which WordPress manages in a separate database table).
This plugin does NOT help you in setting user custom field values, nor does it provide an interface to list or otherwise manage user custom fields.
The list of useful user custom field values that are provided by default in WordPress are:
- first_name
- last_name
- nickname
- description
- aim
- yim
- jabber
It is up to other plugins or custom code to add additional user custom fields that you may then be able to retrieve with this plugin.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Developer Documentation
Developer documentation can be found in DEVELOPER-DOCS.md. That documentation covers the numerous template tags, hooks, and shortcode provided by the plugin.
As an overview, these are the template tags provided the plugin:
c2c_get_current_user_custom(): Template tag to get custom fields for the currently logged in user.c2c_get_author_custom(): Template tag to get custom fields for the current author (when on the permalink page for a post, page, or in a loop).c2c_get_user_custom(): Template tag to get custom fields for a specified user.
These are the hooks provided by the plugin:
c2c_get_current_user_custom: An alternative approach to safely invokec2c_get_current_user_custom()in such a way that if the plugin were deactivated or deleted, then your calls to the function won’t cause errors in your site.c2c_get_author_custom: An alternative approach to safely invokec2c_get_author_custom()in such a way that if the plugin were deactivated or deleted, then your calls to the function won’t cause errors in your site.c2c_get_user_custom: An alternative approach to safely invokec2c_get_user_custom()in such a way that if the plugin were deactivated or deleted, then your calls to the function won’t cause errors in your site.c2c_get_user_custom_field_values_shortcode: Filter to customize the name of the plugin’s shortcode.c2c_get_user_custom-user_field_proxy: Filter to prevent proxying to user object fields if no value for the custom field was found for the user.get_user_custom_field_values/can_author_use_shortcodes: Filter to customize if post author can make use of the ‘user_custom_field’ shortcode.get_user_custom_field_values/show_metabox: Filter to customize if the shortcode builder metabox is shown.
The shortcode provided is [user_custom_field], which has a number of attributes to customize its behavior and output.
Installation
- Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically
/wp-content/plugins/). - Activate the plugin through the ‘Plugins’ admin menu in WordPress
- Optional: Add filters for ‘the_user_meta’ to filter user custom field data (see the end of the file for commented out samples you may wish to include). And/or add per-meta filters by hooking ‘the_user_meta_$field’
- Give a user a custom field with a value, or have user custom fields already defined. (This generally entails use of plugin(s) that utilize the user custom fields feature built into WordPress. By default, in a practical sense WordPress only sets the ‘first_name’, ‘last_name’, and ‘nickname’ user custom fields, so you could try using one of them, even if just for testing even though WordPress provides functions to get those particular fields.)
- Optional: Use the provided ‘Get User Custom’ widget -or-
Use the available shortcode in a post or page -or-
Use the functionc2c_get_current_user_custom()if you wish to access user custom fields for the currently logged
in user. Use the functionc2c_get_user_custom()to access user custom fields for a specified user. Use the function
c2c_get_author_custom() to access custom fields for the current author (when on the permalink page for a post, page, or
in a loop). Prepend either of the three mentioned functions with ‘echo’ to display the contents of the custom field; or
use the return value as an argument to another function.
Journal de modifications
Recommended update: Prevented users who can't post unfiltered HTML from using the shortcode in posts (security hardening), added some new filters, added DEVELOPER-DOCS.md, noted compatibility through WP 5.8+, and reorganized and improved unit tests.
3.3 (2021-11-09)
Highlights:
This recommended release prevents users who can’t post unfiltered HTML from using the shortcode in posts (security hardening), adds some new filters, adds DEVELOPER-DOCS.md, notes compatibility through WP 5.8+, and reorganizes and improves unit tests.
Details:
- Change: Prevent users who cannot post unfiltered HTML from using the shortcode in posts. Props Francesco Carlucci and Erwan.
- Hardens security to prevent potentail information disclosure or XSS by authors with limited privileges
- New: Add shortcode class function
can_author_use_shortcodes() - New: Add filter
'get_user_custom_field_values/can_author_use_shortcodes' - Change: Prevent shortcodes created by users who cannot publish unfiltered HTML from being evaulated
- Change: Prevent display of shortcode builder metabox to users who cannot publish posts
- New: Add filter
'get_user_custom_field_values/show_metabox'to customize if shortcode builder metabox is shown - New: Add DEVELOPER-DOCS.md and move template tag and shortcode documentation into it
- Change: Note compatibility through WP 5.8+
- Change: Update copyright date (2021)
- Change: Update shortcode builder widget to 008
- Change: Tweak installation instructions
- Unit tests:
- Change: Split shortcode-related tests out into their own file
- Change: Split widget-related tests out into their own file
- New: Add unit tests for
show_metabox() - New: Add helper function
create_post() - Change: Restructure unit test file structure
- Change: Move
phpunit/bin/totests/bin/ - Change: Move
phpunit/bootstrap.phpintotests/phpunit/ - Change: Move tests from
phpunit/tests/totests/phpunit/tests/ - Change: In bootstrap, store path to plugin file constant so its value can be used within that file and in test file
- Change: In bootstrap, check for test installation in more places and exit with error message if not found
- Change: Remove ‘test-‘ prefix from unit test files
- Change: Move
- New: Add a few more possible TODO items
3.2.2 (2020-09-18)
- Change: Restructure unit test file structure
- New: Create new subdirectory
phpunit/to house all files related to unit testing - Change: Move
bin/tophpunit/bin/ - Change: Move
tests/bootstrap.phptophpunit/ - Change: Move
tests/tophpunit/tests/ - Change: Rename
phpunit.xmltophpunit.xml.distper best practices
- New: Create new subdirectory
- Change: Note compatibility through WP 5.5+
3.2.1 (2020-06-07)
- Change: Update shortcode builder widget to 007:
- New: Store object instantiated during
register() - Change: Cast return value of
c2c_get_user_custom_field_values_post_typesfilter as an array - Change: Sanitize string used in markup attributes (hardening)
- New: Store object instantiated during
- New: Add TODO.md and move existing TODO list from top of main plugin file into it (and added to it)
- Change: Note compatibility through WP 5.4+
- Change: Update links to coffee2code.com to be HTTPS
- Change: Update link to Get Custom Field Values plugin to point to wordpress.org instead of my site
- Change: Unit tests: Use HTTPS for link to WP SVN repository in bin script for configuring unit tests (and delete commented-out code)
Full changelog is available in CHANGELOG.md.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Get User Custom Field Values alternatives
All custom field plugins →FAQ
Get User Custom Field Values: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Get User Custom Field Values free?
Yes. Get User Custom Field Values is free to download and use from the official WordPress.org plugin directory.
Is Get User Custom Field Values safe to use in 2026?
Get User Custom Field Values shows warning signs in 2026 — compare the alternatives below before installing. It runs on 80+ sites, is rated 3.7/5 and was last updated 5 years ago, and scores 28/100 on our health check.
How many websites use Get User Custom Field Values?
Get User Custom Field Values is active on 80+ WordPress websites and has been downloaded 13,817 times since it launched in August 2011. It was downloaded 131 times in the last 30 days.
Does Get User Custom Field Values work with WordPress 7.1?
Get User Custom Field Values is officially tested up to WordPress 5.8.20, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Get User Custom Field Values last updated?
The latest version, 3.3, was released on November 21, 2021 (5 years ago).
Who makes Get User Custom Field Values?
Get User Custom Field Values is developed and maintained by Scott Reilly.
What are the best alternatives to Get User Custom Field Values?
The most popular alternatives to Get User Custom Field Values are Smart Custom Fields (50K+ installs), Custom Post Types and Custo… (10K+ installs) and Meta Field Block (10K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


