!empty($prices) ? min($prices) : 0, 'max' => !empty($prices) ? max($prices) : 0, ]; } } ?>
<?php echo isset($aelms_item->thumbnail['alt']) ? esc_attr($aelms_item->thumbnail['alt']) : esc_attr($aelms_item->post_title); ?>
helper()->course()->getCourseLevelName($aelms_item->rendered_metas['difficulty_level'] ?? null)); ?>
getAverageRating() ?? 0 : 0; $aelms_total_ratings = $aelms_type == "course" ? $aelms_item->getTotalRatings() ?? 0 : 0; $aelms_filled_stars = floor($aelms_average_rating); // Number of filled stars $aelms_has_half = ($aelms_average_rating - $aelms_filled_stars) > 0; // Check if there's a decimal part ?>
'; } elseif ($aelms_has_half && $aelms_i == $aelms_filled_stars + 1) { echo ''; } else { echo ''; } } ?>
%d courses', 'acadlix'), $aelms_item->courses->count() ); ?>
helper()->course()->getCourseUserHtml($aelms_item); // phpcs:ignore ?>