• Howards,

    Support, I am writing you to ask about the function to reset a course, i want to remove all users from one course with a single click, i know there’s the tools way but i cant type every email alone because i have tons.

    Any updates ?

    Thank you, Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi blackemper0r,

    Thank you for reaching out with your question.

    Currently, LearnPress does not have a one-click button in the admin interface to perform this action. However, you can achieve this easily by running a simple SQL query directly on your database.

    Please note: Before you proceed, it is highly recommended that you back up your database. This will ensure you can restore your data if anything goes wrong.

    You can use the following SQL command in your phpMyAdmin or another database management tool:

    DELETE FROM wp_learnpress_user_items
    WHERE item_id = 'ENTER_COURSE_ID_HERE'
    AND item_type = 'lp_course';

    Instructions:

    1. Log in to your phpMyAdmin.
    2. Select your website’s database.
    3. Go to the “SQL” tab.
    4. Replace 'ENTER_COURSE_ID_HERE' with the actual ID of the course you want to reset.
    5. Run the query.

    This command will delete all entries related to that course from the wp_learnpress_user_items table, effectively unenrolling all users from it.

    Best regards,
    Brianvu-tp

    Thread Starter blackemper0r

    (@blackemper0r)

    Hey,

    I have done theses steps but it still showa that i have students.
    Does it have something with orders

    Thread Starter blackemper0r

    (@blackemper0r)

    Re. i figured it out you just have to clear cache after sql update

    Plugin Support brianvu-tp

    (@briantp)

    Hi blackemper0r,

    Thank you for the update!

    We are very glad to hear that solved the problem.

    This is a great tip for other users who might encounter the same issue, and we appreciate you sharing your findings with the community.

    If you are satisfied with LearnPress, we would greatly appreciate it if you could leave us a 5-star review. A nice rating is a big motivation for us to keep up the hard work, and it’s really important to us.

    Thank you very much for your feedback.

    Best regards,
    Brianvu-tp

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Bulk Delete Rolled In users’ is closed to new replies.