EssaysReportsGenerator::columns()
Returns the columns and their settings
Description
Source
File: bp-integrations/learndash/buddypress/generators/EssaysReportsGenerator.php
protected function columns() { return [ 'user_id' => $this->column('user_id'), 'user' => $this->column('user'), 'course_id' => $this->column('course_id'), 'course' => $this->column('course'), 'quiz' => [ 'label' => __( 'Quizzes', 'buddyboss' ), 'sortable' => true, 'order_key' => 'quiz_title', ], 'essay' => [ 'label' => __( 'Essays', 'buddyboss' ), 'sortable' => true, 'order_key' => 'essay_title', ], 'completion_date' => [ 'label' => __( 'Graded Date', 'buddyboss' ), 'sortable' => true, 'order_key' => 'essay_modify_date', ], 'updated_date' => [ 'label' => __( 'Completion Date', 'buddyboss' ), 'sortable' => true, 'order_key' => 'essay_post_date', ], 'score' => [ 'label' => __( 'Score', 'buddyboss' ), 'sortable' => false, 'order_key' => '', ], ]; }
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.