add-to-cart-edd.php
4 years ago
add-to-cart-woocommerce.php
4 years ago
course-author.php
4 years ago
course-continue.php
4 years ago
course-in-cart.php
4 years ago
course-price-edd.php
4 years ago
course-price-woocommerce.php
4 years ago
course-price.php
4 years ago
course.php
4 years ago
end_content_wrap.php
5 years ago
enrolled-course-progress.php
4 years ago
footer.php
4 years ago
header.php
4 years ago
loop-after-content.php
4 years ago
loop-before-content.php
4 years ago
loop-end.php
5 years ago
loop-start.php
4 years ago
meta.php
4 years ago
rating.php
4 years ago
start_content_wrap.php
4 years ago
thumbnail.php
4 years ago
title.php
4 years ago
header.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @package TutorLMS/Templates |
| 4 | * @version 1.5.8 |
| 5 | */ |
| 6 | |
| 7 | ?> |
| 8 | |
| 9 | <?php tutor_course_loop_thumbnail(); ?> |
| 10 | |
| 11 | <div class="tutor-course-bookmark"> |
| 12 | <?php |
| 13 | $course_id = get_the_ID(); |
| 14 | $is_wish_listed = tutor_utils()->is_wishlisted( $course_id ); |
| 15 | |
| 16 | $action_class = ''; |
| 17 | if ( is_user_logged_in() ) { |
| 18 | $action_class = apply_filters('tutor_wishlist_btn_class', 'tutor-course-wishlist-btn'); |
| 19 | } else { |
| 20 | $action_class = apply_filters('tutor_popup_login_class', 'cart-required-login'); |
| 21 | } |
| 22 | |
| 23 | echo '<a href="javascript:;" class="'. esc_attr( $action_class ) .' save-bookmark-btn tutor-iconic-btn tutor-iconic-btn-secondary" data-course-id="'. esc_attr( $course_id ) .'"> |
| 24 | <i class="' . ( $is_wish_listed ? 'tutor-icon-bookmark-bold' : 'tutor-icon-bookmark-line') . '"></i> |
| 25 | </a>'; |
| 26 | ?> |
| 27 | </div> |
| 28 |