BP_Groups_List_Table::get_columns()

Get the table column titles.

Description

See also

Return

(array) Array of column titles.

Source

File: bp-groups/classes/class-bp-groups-list-table.php

	public function get_columns() {

		/**
		 * Filters the titles for the columns for the groups list table.
		 *
		 * @since BuddyPress 2.0.0
		 *
		 * @param array $value Array of slugs and titles for the columns.
		 */
		return apply_filters( 'bp_groups_list_table_get_columns', array(
			'cb'          => '<input name type="checkbox" />',
			'comment'     => __( 'Name', 'buddyboss' ),
			'description' => __( 'Description', 'buddyboss' ),
			'status'      => __( 'Status', 'buddyboss' ),
			'members'     => __( 'Members', 'buddyboss' ),
			'last_active' => __( 'Last Active', 'buddyboss' )
		) );
	}

Changelog

Changelog
Version Description
BuddyPress 1.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.