Show a User's Enrolled Courses
Set my_courses="yes" to switch [reign_tutor_course] from a general catalog to a learner’s own enrolled courses. This is the mode used by the profile “My Courses” tab, and you can also place it on any page.
Current user’s courses
Section titled “Current user’s courses”[reign_tutor_course my_courses="yes" show_progress="yes" count="4"]If no specific user is resolved, the shortcode falls back to the logged-in user. A logged-out visitor is asked to log in.
Filter by completion status
Section titled “Filter by completion status”[reign_tutor_course my_courses="yes" course_status="completed"]course_status accepts:
all- every enrolled course (default).completed- courses at 100 percent.in-progress(orin_progress) - courses started but not finished.not-started(ornot-started) - courses at 0 percent.
When a filter returns nothing, the addon shows a status-specific message, for example “No completed courses yet.” or “No courses in progress.”
Specify a user
Section titled “Specify a user”[reign_tutor_course my_courses="yes" user_id="123" course_status="all"]Pass user_id="current" to force the current logged-in user regardless of context.
How the profile user is detected
Section titled “How the profile user is detected”When my_courses="yes" and no user_id is given, the addon detects whose courses to show, in this order:
- BuddyPress or BuddyBoss displayed member (
bp_displayed_user_id()). - PeepSo profile owner (PeepSo’s own profile shortcode view-user method).
- Fallback to the current logged-in user.
The shortcode also recognizes when it is running inside a profile or author context to pick a two-column default. Recognized contexts include BuddyPress member pages, PeepSo profiles (by URL segment, page object, or the peepso_profile shortcode), and WordPress author archives.
Progress and pagination
Section titled “Progress and pagination”With show_progress="yes", each enrolled course shows a completion bar. Lists longer than 12 courses paginate automatically. See Course progress bars.

