<?php /** * Tools page * * @package Tutor\Views * @subpackage Tutor\Tools * @author Themeum <support@themeum.com> * @link https://themeum.com * @since 2.0.0 */ ?> <div class="wrap"> <h1 class="wp-heading-inline"><?php esc_html_e( 'Tools', 'tutor' ); ?></h1> <hr class="wp-header-end"> <nav class="nav-tab-wrapper tutor-nav-tab-wrapper"> <?php if ( tutor_utils()->count( $pages ) ) { foreach ( $pages as $key => $page ) { $title = is_array( $page ) ? $page['title'] : $page; $active_class = $key == $current_page ? 'nav-tab-item-active' : ''; $url = add_query_arg( array( 'sub_page' => $key ) ); echo '<a href="' . esc_url( $url ) . '" class="nav-tab-item ' . esc_attr( $active_class ) . '">' . esc_attr( $title ) . '</a>'; } } ?> </nav> <div id="tutor-tools-page-wrap" class="tutor-tools-page-wrap"> <?php do_action( 'tutor_tools_page_' . esc_attr( $current_page ) . '_before' ); if ( ! empty( $pages[ $current_page ]['view_path'] ) && file_exists( $pages[ $current_page ]['view_path'] ) ) { include $pages[ $current_page ]['view_path']; } elseif ( file_exists( tutor()->path . 'views/pages/tools/' . esc_attr( $current_page ) . '.php' ) ) { include tutor()->path . 'views/pages/tools/' . esc_attr( $current_page ) . '.php'; } else { do_action( 'tutor_tools_page_' . esc_attr( $current_page ) . '' ); } do_action( 'tutor_tools_page_' . esc_attr( $current_page ) . '_after' ); ?> </div> </div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ecommerce | Folder | 0755 |
|
|
tools | Folder | 0755 |
|
|
add_new_instructor.php | File | 5.02 KB | 0644 |
|
addons.php | File | 4.4 KB | 0644 |
|
announcements.php | File | 3.62 KB | 0644 |
|
answer.php | File | 3.54 KB | 0644 |
|
course-builder.php | File | 710 B | 0644 |
|
course-list.php | File | 14.87 KB | 0644 |
|
enable_disable_addons.php | File | 206 B | 0644 |
|
feature-promotion.php | File | 1.29 KB | 0644 |
|
get-pro.php | File | 591 B | 0644 |
|
instructors.php | File | 19.27 KB | 0644 |
|
question_answer.php | File | 1.83 KB | 0644 |
|
quiz_attempts.php | File | 2.88 KB | 0644 |
|
students.php | File | 5.86 KB | 0644 |
|
tools.php | File | 1.45 KB | 0644 |
|
tutor-pro-addons.php | File | 22.2 KB | 0644 |
|
view_attempt.php | File | 1.73 KB | 0644 |
|
welcome.php | File | 10.18 KB | 0644 |
|
whats-new.php | File | 15.75 KB | 0644 |
|
withdraw_requests.php | File | 26.05 KB | 0644 |
|