跳到内容

Find & Remove Unused LearnDash Content

v1.0.4

Saqib K. · 2026年6月8日 上架

Scans your LearnDash site for quizzes, lessons, and topics not linked to any course. Bulk trash, delete, and CSV export included.

正在使用
10 以下
评分
5.0 / 5
累计下载
388
最近更新
2026年10月14日
1 条评价需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

贡献者

截图

Main dashboard showing the Quizzes tab with Used/Unused status pills and course associations.
Main dashboard showing the Quizzes tab with Used/Unused status pills and course associations.
Lessons tab with search active, filtering results to a specific term.
Lessons tab with search active, filtering results to a specific term.
Pagination bar with configurable rows-per-page selector.
Pagination bar with configurable rows-per-page selector.
Bulk action buttons and the Trash All Unused button in the footer.
Bulk action buttons and the Trash All Unused button in the footer.
Find & Remove Unused LearnDash Content

Find & Remove Unused LearnDash Content scans your LearnDash LMS installation and identifies quizzes, lessons, and topics that are not attached to any course structure. Over time these orphaned items accumulate and bloat your database.

This plugin is a third-party utility and is not affiliated with or endorsed by LearnDash or its parent company.

Key Features

  • Three-tab dashboard — separate views for Quizzes, Lessons, and Topics
  • Smart detection — uses multiple LearnDash API methods to reliably determine usage
  • Course column — shows the parent course even when the quiz is attached via a lesson or topic
  • Search — filter by title, post ID, or associated course/lesson name
  • Usage filter — switch between All / Used / Unused instantly
  • Pagination — configurable rows per page (10 / 25 / 50 / 100)
  • Bulk actions — Move to Trash or Permanently Delete selected items
  • Trash All Unused — one-click button to move all orphaned items to trash
  • CSV Export — export current filtered view to a spreadsheet
  • Refresh Scan — clear the cache and force a fresh scan
  • Results cached — 5-minute transient cache keeps the UI fast
  • No external dependencies — pure WordPress APIs only

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • LearnDash LMS (tested with LearnDash 4.x)

Usage Detection Logic

A quiz is marked Used if it appears in at least one of:

  1. learndash_get_course_quiz_list() for any course
  2. learndash_get_lesson_quiz_list() for any lesson
  3. learndash_get_topic_quiz_list() for any topic
  4. _sfwd-quiz post meta (edit-screen association fallback)

A lesson is marked Used if it has a course pointer via:

  1. learndash_get_course_lessons_list() for any course
  2. _sfwd-lessons post meta (sfwd-lessons_course field)
  3. ld_get_setting( $id, 'course' ) fallback

A topic is marked Used if it has a lesson or course pointer via:

  1. learndash_get_lesson_topics_list() for any lesson
  2. _sfwd-topic post meta (sfwd-topic_lesson / sfwd-topic_course fields)

Safety

  • All destructive actions require nonce verification
  • Only users with the manage_options capability can use this plugin
  • Deleted items go to Trash by default so they can be restored
  • Results are cached — click Refresh Scan before any cleanup to ensure accuracy

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums