Skip to content

Commit

Permalink
#857 add clone argument for create form
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Pollock committed Aug 7, 2018
1 parent 5fe42b8 commit 8bc7c47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/api/forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ public function args_for_create(){
'type' => 'string',
'required' => false,
'enum' => array_keys($templates)
],
'clone' => [
'description' => __( 'The ID of a form to clone', 'caldera-forms' ),
'type' => 'string',
'required' => false,
]
];
}
Expand Down

0 comments on commit 8bc7c47

Please sign in to comment.