<?php /** * Course loop show view cart if in added to. * * @since v.1.7.5 * @author themeum * @url https://themeum.com * * @package TutorLMS/Templates * @version 1.7.5 */ ?> <div class="tutor-course-loop-price"> <?php $course_id = get_the_ID(); $cart_url = function_exists('wc_get_cart_url') ? wc_get_cart_url() : '#'; $enroll_btn = '<div class="tutor-loop-cart-btn-wrap"><a class="added_to_cart" href="' . esc_url($cart_url) .'">' . esc_html__('View Cart', 'zilom') . '</a></div>'; echo html_entity_decode($enroll_btn); ?> </div>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
content | Folder | 0755 |
|
|
add-to-cart-edd.php | File | 1.13 KB | 0644 |
|
add-to-cart-woocommerce.php | File | 2.19 KB | 0644 |
|
course-author.php | File | 342 B | 0644 |
|
course-continue.php | File | 499 B | 0644 |
|
course-in-cart.php | File | 566 B | 0644 |
|
course-price-edd.php | File | 895 B | 0644 |
|
course-price-woocommerce.php | File | 796 B | 0644 |
|
course-price.php | File | 789 B | 0644 |
|
course.php | File | 211 B | 0644 |
|
end_content_wrap.php | File | 74 B | 0644 |
|
footer.php | File | 2.01 KB | 0644 |
|
header.php | File | 1.06 KB | 0644 |
|
loop-after-content.php | File | 130 B | 0644 |
|
loop-before-content.php | File | 130 B | 0644 |
|
loop-end.php | File | 137 B | 0644 |
|
loop-start.php | File | 1.34 KB | 0644 |
|
meta.php | File | 1.31 KB | 0644 |
|
rating.php | File | 510 B | 0644 |
|
start_content_wrap.php | File | 95 B | 0644 |
|
title.php | File | 306 B | 0644 |
|
tutor-pagination.php | File | 691 B | 0644 |
|