bp_member_type_add_column( type $columns )

Add new columns to the post type list screen.

Description

Parameters

$columns

(Required)

Return

(type)

Source

File: bp-members/bp-members-functions.php

function bp_member_type_add_column( $columns ) {

	$columns['title'] = __( 'Profile Type', 'buddyboss' );
	$columns['member_type'] = __( 'Label', 'buddyboss' );
	$columns['enable_filter'] = __( 'Members Filter', 'buddyboss' );
	$columns['enable_remove'] = __( 'Members Directory', 'buddyboss' );
	$columns['total_users'] = __( 'Users', 'buddyboss' );

	unset( $columns['date'] );

	return $columns;
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.