30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

LearnDash Get Topic

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

Abilitylearndash/get-topic
ToolsetLearnDash — toolset/learndash
GroupLearnDash › Lessons, Topics & Quizzes
RequiresAcrossAI Pro, plus LearnDash LMS active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI 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

NameTypeRequiredWhat it is
topic_idintegerYesThe topic.

What comes back

NameTypeWhat it is
topicobjectPost fields and the full LearnDash settings object.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent 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


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading