rcp_members_page_table_column

This action has been deprecated. Use rcp_memberships_list_table_column_{column} instead.

Used to add content to a new column to the members page.

Parameters:

  • $user_id - ID of the member being displayed.

Example

function ag_rcp_members_page_table_column( $user_id ) {
    ?>
    <td data-colname="<?php esc_attr_e( 'Name of your column here', 'rcp' ); ?>"><?php echo get_user_meta( $user_id, 'your_meta_key', true ); ?></td>
    <?php
}

add_action( 'rcp_members_page_table_column', 'ag_rcp_members_page_table_column' );