How to Create an Online Class Website – Sinhala Guide

Download Resources: Download

Change Course Levels – TutorLMS
add_filter('tutor_course_level', 'modify_course_level');
        if ( ! function_exists('modify_course_level')){
        function modify_course_level($levels){
        $levels['beginner'] = "Ordinary Level";
        $levels['intermediate'] = "Advanced Level";
        $levels['expert'] = "Other";
        return $levels;
    }
}

Skip Cart
add_filter('add_to_cart_redirect', 'ql_skip_cart_page');
function ql_skip_cart_page () {
global $woocommerce;
$redirect_checkout = $woocommerce->cart->get_checkout_url();
return $redirect_checkout;
}

2 comments

Leave your comment