How to Make Customizations Update-Safe
Keep Tutor LMS customizations working through updates: where code should live, hooks before overrides, child themes, CSS, version pinning, staging tests and a change log.
Checked against the plugin source: Tutor LMS 4.1.3, Tutor LMS Pro 4.1.3

The most expensive Tutor LMS problem we fix is a site that cannot be updated because someone customized it the wrong way. Every update then risks breaking the site, so it stays on an old version with known bugs. These rules keep customizations safe.
Rule 1: Never edit plugin files
Changes inside wp-content/plugins/tutor/ or tutor-pro/ are overwritten by the next update, silently. If you inherit a site with edited plugin files, compare them with a clean copy of the same version and move each change into one of the places below.
Rule 2: Pick the right home for each change
| Change | Where it goes |
|---|---|
| Behavior (emails, access rules, integrations) | A custom plugin using hooks |
| Small styling | Child theme stylesheet |
| Layout changes hooks cannot make | Template override in the child theme's tutor/ folder |
| Code that must run before other plugins | A must-use plugin in wp-content/mu-plugins/ |
| Settings | Tutor LMS settings, not code |
Rule 3: Hooks before overrides
A hook keeps working when Tutor LMS changes a template around it. An override is a full copy that you must compare with every new version. Use overrides only when no hook can do the job, and keep them small. See filter hooks and template overrides.
Rule 4: Use a child theme
Overrides and CSS in a parent theme disappear when the theme updates. Put them in a child theme.
Rule 5: Write defensive code
- Check that functions exist:
function_exists( 'tutor_utils' ). - Check Pro and add-ons before using them.
- Avoid private or internal methods; prefer documented hooks and the public helper functions.
- Do not depend on CSS class names in JavaScript when a data attribute or hook is available.
Rule 6: Keep a change log
List every customization: what it does, where it lives and which Tutor LMS feature it touches. When a release changes that feature, you know what to test.
Rule 7: Update on staging first
- Copy live to staging.
- Update Tutor LMS, then Tutor LMS Pro, keeping them on matching versions.
- Test the flows your customizations touch, plus enrollment, checkout, lessons, quizzes and certificates.
- Compare each template override with the new plugin version.
- Update live, with a backup ready.
See updating Tutor LMS safely.
Big releases need a plan
Major versions can rebuild whole screens. Tutor LMS 4 replaced the learning area and dashboards; its Legacy learning mode gives custom sites time to adapt. See upgrading to Tutor LMS 4.
Signs a site is not update-safe
- Updates are switched off for Tutor LMS.
- Edited files in the plugin folders.
- Large template overrides nobody can explain.
- Customizations in a parent theme.
Inherited a fragile site? Our customization service moves changes into update-safe code.
Save this practical guide
Add us as a preferred Google source, or ask an AI assistant to summarize this page and link back to the original guide when it is useful.
