enrolled
6 years ago
add-to-cart-edd.php
6 years ago
add-to-cart-woocommerce.php
6 years ago
add-to-cart.php
6 years ago
complete_form.php
6 years ago
course-benefits.php
6 years ago
course-content.php
6 years ago
course-enroll-box.php
6 years ago
course-enrolled-box.php
6 years ago
course-requirements.php
6 years ago
course-target-audience.php
6 years ago
course-topics.php
6 years ago
instructors.php
6 years ago
lead-info.php
6 years ago
login.php
6 years ago
material-includes.php
6 years ago
q_and_a_turned_off.php
6 years ago
review-form.php
6 years ago
reviews.php
6 years ago
social_share.php
6 years ago
tags.php
6 years ago
wc-price-html.php
6 years ago
course-benefits.php
49 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Template for displaying course benefits |
| 4 | * |
| 5 | * @since v.1.0.0 |
| 6 | * |
| 7 | * @author Themeum |
| 8 | * @url https://themeum.com |
| 9 | * |
| 10 | * |
| 11 | * @package TutorLMS/Templates |
| 12 | * @version 1.4.3 |
| 13 | */ |
| 14 | |
| 15 | |
| 16 | |
| 17 | do_action('tutor_course/single/before/benefits'); |
| 18 | |
| 19 | |
| 20 | $course_benefits = tutor_course_benefits(); |
| 21 | if ( empty($course_benefits)){ |
| 22 | return; |
| 23 | } |
| 24 | |
| 25 | if (is_array($course_benefits) && count($course_benefits)){ |
| 26 | ?> |
| 27 | |
| 28 | <div class="tutor-single-course-segment tutor-course-benefits-wrap"> |
| 29 | |
| 30 | <div class="course-benefits-title"> |
| 31 | <h4 class="tutor-segment-title"><?php _e('What Will I Learn?', 'tutor'); ?></h4> |
| 32 | </div> |
| 33 | |
| 34 | <div class="tutor-course-benefits-content"> |
| 35 | <ul class="tutor-course-benefits-items tutor-custom-list-style"> |
| 36 | <?php |
| 37 | foreach ($course_benefits as $benefit){ |
| 38 | echo "<li>{$benefit}</li>"; |
| 39 | } |
| 40 | ?> |
| 41 | </ul> |
| 42 | </div> |
| 43 | </div> |
| 44 | |
| 45 | <?php } ?> |
| 46 | |
| 47 | <?php do_action('tutor_course/single/after/benefits'); ?> |
| 48 | |
| 49 |