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