Duplicate Form 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 →

Duplicate Form

Write
Ninja Forms Forms ninjaforms/duplicate-form

Create an exact copy of a form, including its fields, actions, and calculations.

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 clones an entire form — every field, action, and calculation — into a brand-new form, appending ' (Copy)' to the title unless a new_title is supplied. It's useful for an AI assistant asked to spin up a variant of an existing form (like an A/B test version or a per-event copy of a recurring RSVP form) without rebuilding it field by field.

See it in action

You ask your AI assistant

"Duplicate form 12 and call the copy 'RSVP - Summer Event'."

Inputs

Name Type Required Description
form_id integer Yes The numeric ID of the form to duplicate.
new_title string No Custom title for the duplicate; defaults to the original title with ' (Copy)' appended.

Returns

An object with a 'success' boolean, the source 'form_id', the 'new_form_id' of the duplicate, its 'title', and a 'message'.

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.