add-to-cart-edd.php
1 year ago
add-to-cart-tutor.php
1 year ago
add-to-cart-woocommerce.php
1 year ago
course-author.php
3 years ago
course-continue.php
2 years ago
course-in-cart.php
1 year ago
course-price-edd.php
1 year ago
course-price-tutor.php
1 year ago
course-price-woocommerce.php
1 year ago
course-price.php
1 year ago
course.php
1 year ago
end_content_wrap.php
3 years ago
enrolled-course-progress.php
3 years ago
footer.php
1 year ago
header.php
3 years ago
loop-after-content.php
3 years ago
loop-before-content.php
3 years ago
loop-end.php
3 years ago
loop-start.php
3 years ago
meta.php
3 years ago
rating.php
3 years ago
start_content_wrap.php
3 years ago
thumbnail.php
3 years ago
title.php
3 years ago
course.php
62 lines
| 1 | <?php |
| 2 | /** |
| 3 | * A single course loop |
| 4 | * |
| 5 | * @package Tutor\Templates |
| 6 | * @subpackage CourseLoopPart |
| 7 | * @author Themeum <support@themeum.com> |
| 8 | * @link https://themeum.com |
| 9 | * @since 1.4.3 |
| 10 | */ |
| 11 | |
| 12 | $course_id = get_the_ID(); |
| 13 | |
| 14 | do_action( 'tutor_course/loop/before_content' ); |
| 15 | |
| 16 | do_action( 'tutor_course/loop/badge' ); |
| 17 | |
| 18 | |
| 19 | do_action( 'tutor_course/loop/before_header' ); |
| 20 | do_action( 'tutor_course/loop/header' ); |
| 21 | do_action( 'tutor_course/loop/after_header' ); |
| 22 | |
| 23 | |
| 24 | do_action( 'tutor_course/loop/start_content_wrap' ); |
| 25 | |
| 26 | do_action( 'tutor_course/loop/before_rating' ); |
| 27 | do_action( 'tutor_course/loop/rating' ); |
| 28 | do_action( 'tutor_course/loop/after_rating' ); |
| 29 | |
| 30 | do_action( 'tutor_course/loop/before_title' ); |
| 31 | do_action( 'tutor_course/loop/title' ); |
| 32 | do_action( 'tutor_course/loop/after_title' ); |
| 33 | |
| 34 | do_action( 'tutor_course/loop/before_meta' ); |
| 35 | do_action( 'tutor_course/loop/meta' ); |
| 36 | do_action( 'tutor_course/loop/after_meta' ); |
| 37 | |
| 38 | do_action( 'tutor_course/loop/before_excerpt' ); |
| 39 | do_action( 'tutor_course/loop/excerpt' ); |
| 40 | do_action( 'tutor_course/loop/after_excerpt' ); |
| 41 | |
| 42 | do_action( 'tutor_course/loop/end_content_wrap' ); |
| 43 | do_action( 'tutor_course/loop/tutor_pagination' ); |
| 44 | |
| 45 | /** |
| 46 | * Hooks for enrolled course progress |
| 47 | * That will affected on dashboard enrolled course page |
| 48 | * |
| 49 | * @since 2.0.0 |
| 50 | */ |
| 51 | do_action( 'tutor_course/loop/before_enrolled_progress' ); |
| 52 | do_action( 'tutor_course/loop/enrolled_course_progress' ); |
| 53 | do_action( 'tutor_course/loop/after_enrolled_progress' ); |
| 54 | |
| 55 | do_action( 'tutor_course/loop/before_footer' ); |
| 56 | do_action( 'tutor_course/loop/footer' ); |
| 57 | do_action( 'tutor_course/loop/after_footer', $course_id ); |
| 58 | |
| 59 | do_action( 'tutor_course/loop/after_content' ); |
| 60 | |
| 61 | |
| 62 |