learndash/get-topic fetches a single topic: its post fields and its full LearnDash settings.
The settings are a subset of a lesson’s, because a topic has no drip-feed of its own.
At a glance
| Ability | learndash/get-topic |
| Toolset | LearnDash — toolset/learndash |
| Group | LearnDash › Lessons, Topics & Quizzes |
| Requires | AcrossAI Pro, plus LearnDash LMS active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Pro 0.9.16 and later |
How it works
A topic inherits its release timing from the lesson above it. There is no per-topic schedule, which means a topic is available exactly when its lesson is.
What a topic does have is the completion controls: assignment upload, assignment points, a forced minimum time, and video progression.
Those matter because a learner blocked on a topic is blocked on the lesson containing it and therefore on the course — LearnDash progression is strict by default.
Use learndash/get-course-structure to see which lesson a topic sits under. The topic itself does not usefully report its parent when it belongs to more than one course.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
topic_id | integer | Yes | The topic. |
What comes back
| Name | Type | What it is |
|---|---|---|
topic | object | Post fields and the full LearnDash settings object. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation. |
Example
Ask your assistant:
What does this topic require to complete?
It resolves to one call:
{
"ability": "learndash/get-topic",
"parameters": {
"topic_id": 560
}
}Worth knowing
- Topics have no drip-feed of their own — they follow their lesson.
- A blocked topic blocks the lesson and therefore the course.
- The course structure read shows which lesson it sits under.
- Read-only.
Related abilities
- LearnDash Manage Topic — change the settings
- LearnDash Get Course Structure — where it sits
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category