earning
7 years ago
enrolled-courses
7 years ago
instructor
7 years ago
reviews
7 years ago
settings
7 years ago
withdraw-method-fields
7 years ago
dashboard.php
7 years ago
earning.php
7 years ago
enrolled-courses.php
7 years ago
index.php
7 years ago
logged-in.php
7 years ago
my-courses.php
7 years ago
my-profile.php
7 years ago
purchase_history.php
7 years ago
quiz-attempts.php
7 years ago
registration.php
7 years ago
reviews.php
7 years ago
settings.php
7 years ago
wishlist.php
7 years ago
withdraw.php
7 years ago
settings.php
34 lines
| 1 | |
| 2 | <h3><?php _e('Settings', 'tutor') ?></h3> |
| 3 | |
| 4 | <div class="tutor-dashboard-content-inner"> |
| 5 | |
| 6 | <div class="tutor-dashboard-inline-links"> |
| 7 | <?php |
| 8 | $settings_url = tutor_utils()->get_tutor_dashboard_page_permalink('settings'); |
| 9 | $education = tutor_utils()->get_tutor_dashboard_page_permalink('settings/education'); |
| 10 | $skill = tutor_utils()->get_tutor_dashboard_page_permalink('settings/skill'); |
| 11 | $withdraw = tutor_utils()->get_tutor_dashboard_page_permalink('settings/withdraw-settings'); |
| 12 | $reset_password = tutor_utils()->get_tutor_dashboard_page_permalink('settings/reset-password'); |
| 13 | ?> |
| 14 | <ul> |
| 15 | <li class="active"> |
| 16 | <a href="<?php echo esc_url($settings_url); ?>"> <?php _e('Profile', 'tutor'); ?></a> |
| 17 | </li> |
| 18 | <li> |
| 19 | <a href="<?php echo esc_url($reset_password); ?>"> <?php _e('Reset Password', 'tutor'); ?></a> |
| 20 | </li> |
| 21 | <?php if(current_user_can(tutor()->instructor_role)){ ?> |
| 22 | <li> |
| 23 | <a href="<?php echo esc_url($withdraw); ?>"> <?php _e('Withdraw', 'tutor'); ?></a> |
| 24 | </li> |
| 25 | <?php } ?> |
| 26 | |
| 27 | </ul> |
| 28 | </div> |
| 29 | |
| 30 | </div> |
| 31 | |
| 32 | <?php |
| 33 | tutor_load_template('dashboard.settings.profile'); |
| 34 | ?> |