Managing WooCommerce Memberships Profile Fields in Admin Columns Pro

WordPress Tweaks

Managing WooCommerce Memberships Profile Fields across multiple members can be tedious, particularly if you’re using them to categorize or group your memberships. Adding Admin Columns Pro with it’s inline editing and smart filtering is usually a great way to solve this problem kind of problem! Unfortunately, out of the box, WooCommerce Memberships Profile Fields are not filterable, searchable, inline editable, or bulk exportable.

We just created a simple plugin that adds Admin Columns Pro columns for each WooCommerce Memberships Profile Field! Now you can view, edit, search, filter, and export this profile data directly from the memberships list.

The Problem

WooCommerce Memberships Profile Fields store data in user meta, not on the membership custom post type. This makes it hard to:

  • See profile field values at a glance
  • Sort or filter by profile fields
  • Edit values without opening each membership
  • Export profile data for reporting

The Solution

The Admin Columns – WooCommerce Memberships Profile Fields plugin automatically creates columns for each profile field. It:

  • Discovers profile fields by scanning user meta
  • Creates a column for each field
  • Shows values from the membership owner’s user meta
  • Supports inline editing, sorting, filtering, and export

Key Features

  • Automatic discovery: finds all profile fields without configuration
  • Full Admin Columns Pro integration: editing, export, search, and sorting
  • Organized display: columns appear in the “WooCommerce” group
  • Works with saved configurations: columns persist after setup

How It Works

The plugin queries user meta keys matching _wc_memberships_profile_field_* to find profile fields. For each field, it creates a column that:

  • Retrieves values from the membership owner’s user meta
  • Uses the meta key pattern: _wc_memberships_profile_field_{slug}
  • Displays the profile field label as the column header

Installation & Usage

  1. Install Admin Columns Pro (if not already installed)
  2. Download the plugin from GitHub
  3. Upload to your wp-content/plugins directory
  4. Activate the plugin
  5. Navigate to Settings > Admin Columns
  6. Select the User Memberships (wc_user_membership) post type
  7. Add columns — you’ll see one column for each of your WooCommerce Memberships profile fields

Technical Details

Built on the Admin Columns Pro column template system, the plugin:

  • Extends the Admin Columns Pro column API
  • Handles slug extraction from column types for saved configurations
  • Uses WordPress get_post_field() for consistent user ID retrieval
  • Joins wp_posts.post_author with wp_usermeta.user_id for data retrieval

Get the Plugin

Available on GitHub: Admin Columns – WooCommerce Memberships Profile Fields

The plugin is open source and follows WordPress coding standards. Contributions and feedback are welcome.

Requirements

  • WordPress 3.5+
  • Admin Columns Pro 6.3+
  • WooCommerce Memberships (with profile fields configured)
  • PHP 7.2+

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.