Settings Keys and Stored Data
Reign Tutor LMS Addon overviewPremiumGet Reign Tutor LMS Addon →
Where the add-on keeps its data, the key of every setting, the CSS classes it adds and who may do what. Use it for WP-CLI, migrations and support checks.
Where settings are saved
Section titled “Where settings are saved”All settings live in one array, reign_options['tutorlms'], inside the reign_options option that holds the Reign theme’s own settings. Only values you changed from the default are saved. A value left at its default is not stored and keeps following the default. Nothing is written when the add-on is activated. The add-on has no other option, post meta, table or background job.
Read what a site has saved:
wp option pluck reign_options tutorlmsChange a default for the whole site with the reign_tutor_default_settings filter. See Hooks and filters.
Setting keys
Section titled “Setting keys”| Card | Key | Screen label | Values | Default |
|---|---|---|---|---|
| Course page | course_template |
Template | reign, spotlight, academy |
reign |
| Course page | related |
Related courses | on, off |
on |
| Course page | related_title |
Related courses heading | text | More courses |
| Course page | related_count |
Related courses shown | 1 to 6 | 3 |
| Course cards | card_style |
Style | classic, soft, list |
classic |
| Course cards | card_fields |
Cards show | instructor, category, duration, progress |
all four |
| Member profiles | profile_courses_tab |
Courses tab | on, off |
on |
The Member profiles card shows only while BuddyPress, BuddyBoss or PeepSo is active. A hidden card keeps its saved values.
The 2.2.0 key enable_profile_courses_tab is read once, by the move on the first load after the update, and then removed. See Upgrade from 2.2.0.
Profile tab addresses
Section titled “Profile tab addresses”| Community plugin | Address |
|---|---|
| BuddyPress and BuddyBoss | /<members base>/<member>/courses/, with sub-tabs enrolled (Learning) and teaching (Teaching) |
| PeepSo | The profile segment tutorlms_courses, the same as 2.2.0 so saved links keep working |
CSS classes
Section titled “CSS classes”| Class | Where | Use |
|---|---|---|
rtu-course and rtu-course--spotlight, rtu-course--academy or rtu-course--reign |
body on a course page |
Style one template. |
rtu-cards and rtu-cards--classic, rtu-cards--soft or rtu-cards--list |
The Tutor course list wrapper | Style one card style. |
Who can do what
Section titled “Who can do what”| Action | Needs |
|---|---|
| Open the Tutor LMS settings screen, save or reset a card | manage_options |
| See the “paused” notice | activate_plugins |
See another member’s list with [reign_tutor_course my_courses="yes" user_id="12"] |
manage_options, or Tutor LMS > Settings > Design > Student Public Profile Layout not set to Private |
Visitors need no capability to see the course page, cards, related courses or the categories shortcode.

