bp_group_type_add_column( type $columns )

Add new columns to the post type list screen.

Description

Parameters

$columns

(Required)

Return

(type)

Source

File: bp-groups/bp-groups-admin.php

function bp_group_type_add_column( $columns ) {

	$columns['title'] = __( 'Group Type', 'buddyboss' );
	$columns['group_type'] = __( 'Label', 'buddyboss' );
	$columns['enable_filter'] = __( 'Groups Filter', 'buddyboss' );
	$columns['enable_remove'] = __( 'Groups Directory', 'buddyboss' );
	$columns['total_groups'] = __( 'Groups', '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.