learndash/list-elementor-widgets lists every LearnDash Elementor widget, with the widgetType value to write into a page’s _elementor_data and the shortcode each one renders through.
Start here when building or editing a LearnDash page in Elementor.
At a glance
| Ability | learndash/list-elementor-widgets |
| Toolset | LearnDash — toolset/learndash |
| Group | LearnDash › Integrations & Add-ons |
| 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
An Elementor layout lives in the _elementor_data post meta, not in post_content. Editing post content on an Elementor page reports success and changes nothing a visitor sees.
That is the single most consequential fact about editing these pages programmatically, and it applies to every Elementor page rather than only LearnDash ones.
So writing a layout means updating that meta through the content toolset, with the widgetType values from this list.
The widgets are only registered when LD30 is the active LearnDash theme, and several depend on which template type is being edited. This reports whether they are currently offered at all, which saves building a layout around widgets the site will not render.
Take the widgetType from here, then call learndash/get-elementor-widget-schema for that widget to get its settings keys before writing anything.
Input
This ability takes no input.
What comes back
| Name | Type | What it is |
|---|---|---|
widgets | array | Each widget with its widgetType and the shortcode it renders through. |
available | boolean | Whether the widgets are currently registered at all. |
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 LearnDash widgets can I use in Elementor?
It resolves to one call:
{
"ability": "learndash/list-elementor-widgets",
"parameters": {}
}Worth knowing
- Elementor layouts live in
_elementor_data, not post content. - Editing post content on an Elementor page succeeds and does nothing.
- The widgets need LD30 as the active LearnDash theme.
- Read-only.
Related abilities
- LearnDash Get Elementor Widget Schema — the settings keys
- Get Elementor Widget Controls — the Elementor-side equivalent
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category