PMC Plugins
Pmc Clone Post

pmc-clone-post

Provides the ability to clone a post of any time to a new draft for future editing.

Filters & Hooks

pmc_clone_post_allowed_post_types

Array of post types that support "clone" feature. All public post types by default.

  • @param array $post_types array of post types that support the "clone" feature.

pmc_clone_wp_insert_post_args

Args array for the wp_insert_post args param.

  • @param array array of wp_insert_post args for new post.

pmc_clone_meta_keys_to_exclude

Array of meta keys to exclude from clone.

  • @param array $key_to_exclude meta keys to exclude from meta copy.