education.php
6 years ago
profile.php
6 years ago
reset-password.php
6 years ago
skill.php
6 years ago
withdraw-settings.php
6 years ago
education.php
31 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package TutorLMS/Templates |
| 4 | * @version 1.4.3 |
| 5 | */ |
| 6 | ?> |
| 7 | <h3><?php _e('Settings', 'tutor') ?></h3> |
| 8 | |
| 9 | <div class="tutor-dashboard-content-inner"> |
| 10 | |
| 11 | <div class="tutor-dashboard-inline-links"> |
| 12 | <?php |
| 13 | $settings_url = tutor_utils()->get_tutor_dashboard_page_permalink('settings'); |
| 14 | $education = tutor_utils()->get_tutor_dashboard_page_permalink('settings/education'); |
| 15 | $skill = tutor_utils()->get_tutor_dashboard_page_permalink('settings/skill'); |
| 16 | $withdraw = tutor_utils()->get_tutor_dashboard_page_permalink('settings/withdraw-settings'); |
| 17 | ?> |
| 18 | <ul> |
| 19 | <li> |
| 20 | <a href="<?php echo esc_url($settings_url); ?>"> <?php _e('Profile', 'tutor'); ?></a> |
| 21 | </li> |
| 22 | <?php if(current_user_can(tutor()->instructor_role)){ ?> |
| 23 | <li> |
| 24 | <a href="<?php echo esc_url($withdraw); ?>"> <?php _e('Withdraw', 'tutor'); ?></a> |
| 25 | </li> |
| 26 | <?php } ?> |
| 27 | |
| 28 | </ul> |
| 29 | </div> |
| 30 | |
| 31 | </div> |