BBP_Forums_Admin::column_headers( array $columns )
Manage the column headers for the forums page
Description
Parameters
- $columns
-
(Required) The columns
Return
(array) $columns Forums forum columns
Source
File: bp-forums/admin/forums.php
public function column_headers( $columns ) { if ( $this->bail() ) return $columns; $columns = array ( 'cb' => '<input type="checkbox" />', 'title' => __( 'Forum', 'buddyboss' ), 'bbp_forum_topic_count' => __( 'Discussions', 'buddyboss' ), 'bbp_forum_reply_count' => __( 'Replies', 'buddyboss' ), 'author' => __( 'Creator', 'buddyboss' ), 'bbp_forum_created' => __( 'Created' , 'buddyboss' ), 'bbp_forum_freshness' => __( 'Last Post', 'buddyboss' ) ); return apply_filters( 'bbp_admin_forums_column_headers', $columns ); }
Changelog
Version | Description |
---|---|
bbPress (r2485) | 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.