BBP_Topics_Admin::column_headers( array $columns )
Manage the column headers for the topics page
Description
Parameters
- $columns
-
(Required) The columns
Return
(array) $columns Forums topic columns
Source
File: bp-forums/admin/topics.php
668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 | public function column_headers( $columns ) { if ( $this ->bail() ) return $columns ; $columns = array ( 'cb' => '<input type="checkbox" />' , 'title' => __( 'Discussions' , 'buddyboss' ), 'bbp_topic_forum' => __( 'Forum' , 'buddyboss' ), 'bbp_topic_reply_count' => __( 'Replies' , 'buddyboss' ), 'bbp_topic_voice_count' => __( 'Members' , 'buddyboss' ), 'bbp_topic_author' => __( 'Author' , 'buddyboss' ), 'bbp_topic_created' => __( 'Created' , 'buddyboss' ), 'bbp_topic_freshness' => __( 'Last Post' , 'buddyboss' ) ); return apply_filters( 'bbp_admin_topics_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.