model/modx/processors/element/snippet/duplicate.php
- package
- modx
- $id
- integer
The ID of the snippet to duplicate. - $name
- string
(optional) The name of the new snippet. Defaults to Untitled Snippet. - subpackage
- processors.element.snippet
Description
Duplicate a snippet.