Feature Request: Frontend CPT duplication
-
Hello, would it be possible to create/provide a PHP snippet to duplicate a CPT on the frontend? E.g. function asenha_duplicate_frontend ($post_id, $status = draft) { … }. I display a list of an author’s posts (Metabox CPT) and want to give them a “duplicate” function from this list. It would add “Duplicate” to the post title just as your backend function does, but allow post status to be set to publish. The snippet would have to check that the current logged in user is the author of the post, otherwise it would either return an error code or do nothing. Thanks for considering this.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Feature Request: Frontend CPT duplication’ is closed to new replies.