BBP_Replies_Admin::column_headers( array $columns )

Manage the column headers for the replies page

Description

Parameters

$columns

(Required) The columns

Return

(array) $columns Forums reply columns

Source

File: bp-forums/admin/replies.php

	public function column_headers( $columns ) {

		if ( $this->bail() ) return $columns;

		$columns = array(
			'cb'                => '<input type="checkbox" />',
			'title'             => __( 'Title',  	   'buddyboss' ),
			'bbp_reply_forum'   => __( 'Forum',   	   'buddyboss' ),
			'bbp_reply_topic'   => __( 'Discussion',   'buddyboss' ),
			'bbp_reply_author'  => __( 'Author',       'buddyboss' ),
			'bbp_reply_created' => __( 'Created',      'buddyboss' ),
		);

		return apply_filters( 'bbp_admin_replies_column_headers', $columns );
	}

Changelog

Changelog
Version Description
bbPress (r2577) 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.