at path:
ROOT
/
wp-content
/
plugins
/
tutor
/
views
/
qna
/
contexts.php
run:
R
W
Run
contexts.php
1.09 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
qna-new.php
1.77 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
qna-single.php
8.77 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
qna-table.php
11.1 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
error_log
up
📄
contexts.php
Save
<?php /** * Tutor Q&A contexts * * @package Tutor\Views * @subpackage Tutor\Q&A * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 2.0.0 */ $contexts = array( 'qna-table' => array( 'columns' => array( 'checkbox' => '<div class="tutor-d-flex"><input type="checkbox" id="tutor-bulk-checkbox-all" class="tutor-form-check-input" /></div>', 'student' => __( 'Student', 'tutor' ), 'question' => __( 'Question', 'tutor' ), 'reply' => __( 'Reply', 'tutor' ), 'waiting_since' => __( 'Waiting Since', 'tutor' ), 'status' => __( 'Status', 'tutor' ), 'action' => __( 'Action', 'tutor' ), ), 'contexts' => array( 'frontend-dashboard-qna-table-instructor' => array( 'student', 'question', 'reply', 'status', 'action', ), 'frontend-dashboard-qna-table-student' => array( 'question', 'reply', 'action', ), 'backend-dashboard-qna-table' => true, ), ), ); return tutor_utils()->get_table_columns_from_context( $page_key, $context, $contexts, 'tutor/qna/table/column' );