| 开发者 | rajaamanullah |
|---|---|
| 更新时间 | 2026年9月16日 10:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
rausa_checks filter, so agencies running the same audit across many client sites can add their own house rules alongside the built-in twelve.
Disclaimer
This is an independent add-on. It is not affiliated with, endorsed by or sponsored by LearnDash or its owners. "LearnDash" is used here only to describe the software this plugin works with.
Run the audit — orphaned lessons are one of the twelve checks. A lesson is orphaned when it exists as a post but is not attached to any course, which normally happens when a course is restructured or a lesson is removed from the builder rather than deleted. The report lists every one with a link to its edit screen, and offers an opt-in cleanup that moves them to the trash.
The "Courses with no content" check finds them. This is flagged as critical because a published course with no steps still accepts enrolments — learners land on it, see nothing, and open a support ticket.
Usually one of three structural causes, and the audit checks all of them: the course is unpublished while enrolments still exist, a prerequisite course has been unpublished or deleted, or a step in the course points at a course that no longer exists. Each has its own check in the report.
It is one of the critical checks. An empty quiz still appears in the course outline and still has to be passed, so it stops learner progression completely while looking perfectly normal in the admin.
The "Questions not used in any quiz" check lists every question in the question bank that no quiz references. It is a notice rather than an error, because a deliberately maintained question bank is a legitimate setup — the point is to show you the size of it so you can decide.
Cleanup moves items to the WordPress trash, so nothing is destroyed and everything is restorable from the normal Trash view until you empty it. The scan itself never removes anything; cleanup only runs when you click it.
Not on its own. The scan is entirely read-only. Cleanup actions only appear for orphaned content, are never automatic, and move items to the trash rather than deleting them.
Yes. Three of the checks cover groups — groups with no group leader (nobody can administer or report on them), groups with no courses (membership grants no access), and enrolment problems that surface through group course assignments.
LearnDash 3.x and 4.x. Every check calls LearnDash's own API behind a function check, so a version that doesn't provide a given function reports that check as skipped rather than failing.
Each check depends on a LearnDash function. If your LearnDash version doesn't provide it, the check is skipped and reported rather than causing an error. This keeps the plugin safe across LearnDash releases.
No. No options, no custom tables, no transients and no scheduled tasks. The report is generated on demand and nothing is written, so removing the plugin leaves your database exactly as it was.
The scan examines up to 2,000 items per content type per run, which keeps it within normal PHP limits. Larger-site handling with background scanning is planned.
That check is a notice, not an error. It's listed so you can confirm the omission is intentional rather than an oversight.
No. It only reads data — it doesn't modify LearnDash behaviour, register front-end output or alter course access, so it sits alongside other add-ons without conflict.
Yes. Register them with the rausa_checks filter and they appear in the report alongside the built-in checks, with the same severity grouping and item listing.