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

Start free trial

LearnDash List Elementor Widgets

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

Abilitylearndash/list-elementor-widgets
ToolsetLearnDash — toolset/learndash
GroupLearnDash › Integrations & Add-ons
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

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

NameTypeWhat it is
widgetsarrayEach widget with its widgetType and the shortcode it renders through.
availablebooleanWhether the widgets are currently registered at all.
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 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


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading