BP_Groups_List_Table::add_type_column( array $columns = array() )
Add group type column to the WordPress admin groups list table.
Description
Parameters
- $columns
-
(array) (Optional) Groups table columns.
Default value: array()
Return
(array) $columns
Source
File: bp-groups/classes/class-bp-groups-list-table.php
public function add_type_column( $columns = array() ) { $columns['bp_group_type'] = __( 'Group Type', 'buddyboss' ); return $columns; }
Changelog
Version | Description |
---|---|
BuddyPress 2.7.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.