• Resolved masitravel

    (@masitravel)


    Hi

    Is there a way for instructors to see courses made private in there dashboard, as soon as I make a course private, it disappears under instructors my courses.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @masitravel

    There is no settings for this but you may directory customize the code. Go to wp-content/plugins/tutor/templates/dashboard/my-courses.php at line number 14. Now you can see this code:

    $my_courses = tutor_utils()->get_courses_by_instructor(null, array('publish', 'draft', 'pending'));

    You just need to add a new element to the array, like this:

    $my_courses = tutor_utils()->get_courses_by_instructor(null, array('publish', 'draft', 'pending', 'private'));

    Kind Regards.

    Thread Starter masitravel

    (@masitravel)

    Thanks it worked but I need it to be purchasable or if I manually enroll a student the instructor gets their revenue share/earnings.

    The idea is for the course not to be purchasable by anyone but a specific student as it would be unique to that student.

    • This reply was modified 3 years, 8 months ago by masitravel.

    Hello

    There is no option to hide the enroll button from the individual course. You may use CSS display : none to hide the enroll button. This way no one can enroll to that couze.

    Kind Regares.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘instructor private courses’ is closed to new replies.