enrolled
7 years ago
add-to-cart-edd.php
7 years ago
add-to-cart-woocommerce.php
7 years ago
add-to-cart.php
7 years ago
complete_form.php
7 years ago
course-benefits.php
7 years ago
course-content.php
7 years ago
course-enroll-box.php
7 years ago
course-enrolled-box.php
7 years ago
course-requirements.php
7 years ago
course-target-audience.php
7 years ago
course-topics.php
7 years ago
instructors.php
7 years ago
lead-info.php
7 years ago
login.php
7 years ago
material-includes.php
7 years ago
q_and_a_turned_off.php
7 years ago
review-form.php
7 years ago
reviews.php
7 years ago
social_share.php
7 years ago
tags.php
7 years ago
wc-price-html.php
7 years ago
material-includes.php
40 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 | |
| 11 | |
| 12 | do_action('tutor_course/single/before/material_includes'); |
| 13 | |
| 14 | $materials = tutor_course_material_includes(); |
| 15 | |
| 16 | if ( empty($materials)){ |
| 17 | return; |
| 18 | } |
| 19 | |
| 20 | if (is_array($materials) && count($materials)){ |
| 21 | ?> |
| 22 | |
| 23 | <div class="tutor-single-course-segment tutor-course-material-includes-wrap"> |
| 24 | <h4 class="tutor-segment-title"><?php _e('Material Includes', 'tutor'); ?></h4> |
| 25 | <div class="tutor-course-target-audience-content"> |
| 26 | <ul class="tutor-course-target-audience-items tutor-custom-list-style"> |
| 27 | <?php |
| 28 | foreach ($materials as $material){ |
| 29 | echo "<li>{$material}</li>"; |
| 30 | } |
| 31 | ?> |
| 32 | </ul> |
| 33 | </div> |
| 34 | </div> |
| 35 | |
| 36 | <?php } ?> |
| 37 | |
| 38 | <?php do_action('tutor_course/single/after/material_includes'); ?> |
| 39 | |
| 40 |