' . $default_price . $enroll_btn . '
';
if ( tutor_utils()->is_course_purchasable() ) {
$product_id = tutor_utils()->get_course_product_id( $course_id );
$product = wc_get_product( $product_id );
if ( $product ) {
$price_html = ' ' . $product->get_price_html() . '
';
$cart_html = '
' . apply_filters( 'tutor_course_restrict_new_entry', $enroll_btn ) . '
';
}
}
echo wp_kses_post( $price_html );
echo wp_kses_post( $cart_html );
?>