earning
7 years ago
enrolled-courses
7 years ago
instructor
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
my-reviews.php
7 years ago
quiz-attempts.php
7 years ago
registration.php
7 years ago
wishlist.php
7 years ago
withdraw.php
7 years ago
wishlist.php
41 lines
| 1 | <?php global $post; ?> |
| 2 | |
| 3 | |
| 4 | <h1><?php _e('Wishlist', 'tutor'); ?></h1> |
| 5 | <div class="tutor-dashboard-content-inner"> |
| 6 | |
| 7 | <?php |
| 8 | $wishlists = tutor_utils()->get_wishlist(); |
| 9 | |
| 10 | |
| 11 | if (is_array($wishlists) && count($wishlists)): |
| 12 | foreach ($wishlists as $post): |
| 13 | setup_postdata($post); |
| 14 | |
| 15 | /** |
| 16 | * @hook tutor_course/archive/before_loop_course |
| 17 | * @type action |
| 18 | * Usage Idea, you may keep a loop within a wrap, such as bootstrap col |
| 19 | */ |
| 20 | do_action('tutor_course/archive/before_loop_course'); |
| 21 | |
| 22 | tutor_load_template('loop.course'); |
| 23 | |
| 24 | /** |
| 25 | * @hook tutor_course/archive/after_loop_course |
| 26 | * @type action |
| 27 | * Usage Idea, If you start any div before course loop, you can end it here, such as </div> |
| 28 | */ |
| 29 | do_action('tutor_course/archive/after_loop_course'); |
| 30 | |
| 31 | endforeach; |
| 32 | |
| 33 | wp_reset_postdata(); |
| 34 | |
| 35 | else: |
| 36 | echo "There's no active course"; |
| 37 | endif; |
| 38 | |
| 39 | ?> |
| 40 | </div> |
| 41 |