learndash/list-questions lists every question belonging to one quiz, in quiz order, with each question’s post ID, title, type, points and question_pro_id.
Questions only exist inside a quiz, so quiz_id is required.
At a glance
| Ability | learndash/list-questions |
| Toolset | LearnDash — toolset/learndash |
| Group | LearnDash › Questions |
| 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 question is stored twice: as a post, and as a ProQuiz row holding the answers. Both have to exist for a learner to answer it.
A question reported with linked=false is half-created — the post exists and its ProQuiz row does not. It appears in wp-admin, looks complete, and cannot be answered.
That state arises from an interrupted creation or from a question written directly as a post, and nothing in the LearnDash interface flags it.
So the flag is the useful column here. A quiz with one unlinked question is a quiz that will behave strangely for every learner who reaches it.
The question_pro_id is where the answers live, and is what learndash/get-question uses to fetch them.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
quiz_id | integer | Yes | The quiz. |
What comes back
| Name | Type | What it is |
|---|---|---|
questions | array | Each question with its post ID, title, type, points, question_pro_id and linked flag. |
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 questions are in this quiz?
It resolves to one call:
{
"ability": "learndash/list-questions",
"parameters": {
"quiz_id": 640
}
}Worth knowing
linked=falseis a half-created question: visible in admin, unanswerable.- Nothing in LearnDash’s interface flags that state.
- The ProQuiz ID is where the answers are stored.
- Read-only.
Related abilities
- LearnDash Get Question — one question with its answers
- LearnDash Manage Question — create one properly
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category