BP_Activity_List_Table::get_columns()

Get the table column titles.

Description

See also

Return

(array) The columns to appear in the Activity list table.

Source

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

	function get_columns() {
		/**
		 * Filters the titles for the columns for the activity list table.
		 *
		 * @since BuddyPress 2.4.0
		 *
		 * @param array $value Array of slugs and titles for the columns.
		 */
		return apply_filters( 'bp_activity_list_table_get_columns', array(
			'cb'       => '<input name type="checkbox" />',
			'author'   => __('Author', 'buddyboss' ),
			'comment'  => __( 'Activity', 'buddyboss' ),
			'action'   => __( 'Action', 'buddyboss' ),
			'response' => __( 'In Response To', 'buddyboss' ),
		) );
	}

Changelog

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