Sorry, I should have explained more clearly.
I have a page with all the courses where users can request to enrol over email. The admin will manually create accounts and enrol the students upon their purchase.
Once the student logs in, I would like to have a page that displays only the courses they are currently enrolled in. I am using the my-courses shortcode, but this displays the full list of available courses.
Many thanks,
Rocio