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

Start free trial

LearnDash Update Integrity Settings

learndash/update-integrity-settings changes LearnDash Integrity settings.

Only the keys you supply are written; everything else in the option is preserved.

At a glance

Abilitylearndash/update-integrity-settings
ToolsetLearnDash — toolset/learndash
GroupLearnDash › Integrations & Add-ons
RequiresAcrossAI Pro, plus LearnDash LMS active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

That partial write is the safety property here. A whole-option write would reset every protection not mentioned, which on a settings blob with no documented key list is very easy to do by accident.

The add-on does not document a fixed key list, and this ability deliberately does not invent one — so read learndash/get-integrity-settings first and work from what is actually there.

That is the same approach as the BuddyBoss group settings: where a plugin has no stable documented schema, the read is the schema.

The settings take effect on the front end immediately. Turning off copy protection on a site that had it is visible to learners the moment they reload.

Idempotent.

Input

NameTypeRequiredWhat it is
settingsobjectYesThe keys to write. Everything else is preserved.

What comes back

NameTypeWhat it is
settingsobjectThe settings after the write.
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:

Turn off the print restriction.

It resolves to one call:

{
  "ability": "learndash/update-integrity-settings",
  "parameters": {
    "settings": { "disable_print": false }
  }
}

Worth knowing

  • Partial write — unmentioned protections are preserved.
  • The add-on documents no fixed key list, so the read is the schema.
  • Changes are visible to learners on the next page load.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading