WordPress plugin intelligence profile

Get User Custom Field Values

Use widgets, shortcodes, and/or template tags to easily retrieve and display custom field values for users.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.8
Current version3.3
WordPress coverageTested up to WordPress 5.8
Minimum stackWP 4.6 · PHP —
Directory statusactive
Last directory update21 Nov 20214y ago
Active installations80Adoption metric — not a quality score
WordPress.org rating3.7 / 5 from 3 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Get User Custom Field Values version 3.3 as active, updated 4y ago and tested up to WordPress 5.8.

Overview

About this plugin

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

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 invoke c2c_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 invoke c2c_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 invoke c2c_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.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • custom field
  • user meta
  • shortcode
  • widget
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.8
Minimum requirementsWordPress 4.6 · PHP not listed
Update activity21 Nov 20214y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.