Perform an action when adding a custom column in the memberlist table.


/**
 * Perform an action when adding a custom column name.
 *
 * @since 2.3.0
 *
 * @see column_default
 *
 * @param string $column_name The column name.
 * @param int    $item['ID']  The member ID.
 */
do_action( 'pmpro_manage_memberslist_custom_column', $column_name, $item['ID'] );

Parameters

$column_name
string
$member_id
integer

Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/classes/class-pmpro-members-list-table.php

View in Source Code

Related Articles and Recipes

Add a Custom Column to the Members List and All Users Admin Pages By Kimberly Coleman