TopicsReportsGenerator::columns()
Returns the columns and their settings
Description
Source
File: bp-integrations/learndash/buddypress/generators/TopicsReportsGenerator.php
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | protected function columns() { return [ 'user_id' => $this ->column( 'user_id' ), 'user' => $this ->column( 'user' ), 'course_id' => $this ->column( 'course_id' ), 'course' => $this ->column( 'course' ), 'topic' => [ 'label' => __( 'Topic' , 'buddyboss' ), 'sortable' => true, 'order_key' => 'post_title' , ], 'start_date' => $this ->column( 'start_date' ), 'completion_date' => $this ->column( 'completion_date' ), 'time_spent' => $this ->column( 'time_spent' ), ]; } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.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.