Generate Unique ID when Entry is Duplicated using GFAPI.
When an entry is duplicated using GFAPI, the Unique ID value is copied to the duplicated entry. This snippet generates a new unique ID value for the duplicated entry.
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gpuid-generate-new-uid-when-duplicated-with-gfapi.php