# Paid Memberships Pro: Extra Column on the Members List

> Adds a column to Memberships > Members showing a value from the member's profile, such as their company or phone number.

- Type: PHP
- Runs: Admin only
- Category: [Memberships](https://wpide.com/library/category/memberships/)
- Tags: pmpro, admin, members
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/pmpro-members-list-extra-column/

## Code

```php
if ( ! function_exists( 'pmpro_hasMembershipLevel' ) ) {
    return;
}

$wpide_pmpro_col_meta  = 'company';
$wpide_pmpro_col_label = 'Company';

add_filter( 'pmpro_manage_memberslist_columns', function ( $columns ) use ( $wpide_pmpro_col_label ) {
    $columns['wpide_extra'] = $wpide_pmpro_col_label;

    return $columns;
} );

add_action( 'pmpro_manage_memberslist_custom_column', function ( $column, $user_id ) use ( $wpide_pmpro_col_meta ) {
    if ( 'wpide_extra' === $column ) {
        $value = get_user_meta( (int) $user_id, $wpide_pmpro_col_meta, true );
        echo esc_html( is_scalar( $value ) ? (string) $value : '' );
    }
}, 10, 2 );
```

## Notes

Set $wpide_pmpro_col_meta to the user meta key to show. Uses the members list hooks from PMPro 3.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Paid Memberships Pro: Extra Column on the Members List" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
