BP_Groups_List_Table::get_columns()
Get the table column titles.
Description Description
See also See also
Return Return
(array) Array of column titles.
Source 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 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' => _x( 'Name', 'Groups admin Group Name column header', 'buddypress' ), 'description' => _x( 'Description', 'Groups admin Group Description column header', 'buddypress' ), 'status' => _x( 'Status', 'Groups admin Privacy Status column header', 'buddypress' ), 'members' => _x( 'Members', 'Groups admin Members column header', 'buddypress' ), 'last_active' => _x( 'Last Active', 'Groups admin Last Active column header', 'buddypress' ) ) ); }
Changelog Changelog
Version | Description |
---|---|
1.7.0 | Introduced. |