Update Plugin Settings is a WordPress ability from Ninja Forms — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Update Plugin Settings

Write
Ninja Forms Forms ninjaforms/update-plugin-settings

Update global Ninja Forms plugin settings — date/currency format, spam-protection keys, and advanced toggles.

Requires the Ninja Forms plugin on WordPress 6.9+ for the Abilities API (all 32 abilities are registered only when the wp_register_ability() function exists, via NF_Abilities_Integration::load_abilities_api() running on plugins_loaded). Every ability is gated by the same ninja_forms_ability_can_manage_forms() permission callback, requiring the caller to hold WordPress's manage_options capability or Ninja Forms' own nf_edit_forms capability.

What it does

This ability updates one or more site-wide Ninja Forms settings in a single call: date format, currency, reCAPTCHA v2/v3 and Turnstile/hCaptcha site and secret keys and their themes/sizes, and advanced toggles like delete_on_uninstall, disable_admin_notices, builder_dev_mode, and load_legacy_submissions. Because delete_on_uninstall controls whether all Ninja Forms data is wiped when the plugin is deactivated, an AI assistant must warn the user explicitly about permanent, unrecoverable data loss and wait for confirmation before setting it, rather than changing it silently alongside other settings.

See it in action

You ask your AI assistant

"Update the Ninja Forms currency to EUR and set the reCAPTCHA v3 site key to my new key."

Inputs

Name Type Required Description
settings object Yes Settings to update as key-value pairs — supports date_format, currency, show_welcome, recaptcha_site_key, recaptcha_secret_key, recaptcha_site_key_3, recaptcha_secret_key_3, recaptcha_lang, recaptcha_theme, turnstile_site_key, turnstile_secret_key, turnstile_theme, turnstile_size, hcaptcha_site_key, hcaptcha_secret_key, hcaptcha_theme, hcaptcha_size, delete_on_uninstall, disable_admin_notices, builder_dev_mode, load_legacy_submissions, opinionated_styles.

Returns

An object with a 'success' boolean, a 'message', and an 'updated' object of the settings that were changed.

Permission

The current user must have WordPress's 'manage_options' capability or Ninja Forms' own 'nf_edit_forms' capability (checked via the shared ninja_forms_ability_can_manage_forms() permission callback).

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.