LLMS_Post_Model::clone_post()
Clones the Post if the post is cloneable
Description Description
Return Return
(WP_Error|int|null) WP_Error, WP Post ID of the clone (new) post, or null if post is not cloneable.
Source Source
File: includes/abstracts/abstract.llms.post.model.php
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Use LLMS_Generator::get_generated_content() in favor of deprecated LLMS_Generator::get_generated_posts() . |
3.3.0 | Introduced. |