Override a template
Reign LifterLMS Addon overviewPremiumGet Reign LifterLMS Addon →
Every part the add-on prints is a template you can replace from your child theme. Nothing needs a code edit in the plugin.
- Pick the file from the template reference.
- Copy it to
{child-theme}/reign-lifterlms/<same path>. For exampletemplates/course/reviews.phpbecomes{child-theme}/reign-lifterlms/course/reviews.php. - Edit your copy. Keep the
@versionline in the header.
The add-on looks in the child theme, then the parent theme, then its own folder.
Keeping up with updates
Section titled “Keeping up with updates”Each template has an @version line. When an update changes a template and your copy carries an older @version, it is listed as out of date on the Update status card. Find the card under Reign Settings > Integrations, then Configure on the LifterLMS tile. Compare, merge and update the @version line.
Without copying
Section titled “Without copying”For a part named course/related, three hooks run (a / or - in the name becomes _):
- Filter
reign_llms_course_related_data( $data )changes the variables the template receives. - Action
reign_llms_before_course_related( $data )prints before it. - Action
reign_llms_after_course_related( $data )prints after it.
Filter reign_llms_locate_template( $path, $part ) changes which file is used.

