rcp_members_page_table_header

This action has been deprecated. Use the rcp_memberships_list_table_columns filter instead.

Note: This is part of the developer docs and is considered custom code.
Unfortunately, we cannot provide support for custom code at this time as we do not have the additional resources that would be necessary to provide support for custom code.

If you need assistance with this, please reach out to our list of consultants for further assistance:
https://codeable.io/developers/restrict-content-pro/

Used to add a new header column to the member's page. If you add something to the header, you most likely want to add it to the footer as well. See rcp_members_page_table_footer.

Example:

function ag_rcp_members_page_table_header() {
    ?>
    <th scope="col" class="rcp-your-custom-col manage-column"><?php _e( 'Your Column Header Name' ); ?></th>
    <?php
}

add_action( 'rcp_members_page_table_header', 'ag_rcp_members_page_table_header' );
Have more questions? Submit a request