WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Prepare New Version

Create the next version of your post while preserving its already online version.

About

Hooks

pnv_duplicata_status_args Filter that can be used to alter arguments sent to 'register_post_status'. Default arguments are:

  • label => Duplicate

  • public => false

  • exclude_from_search => true

  • show_in_admin_all_list => false

  • label_count =>

    • singular => Duplicate (%s)
    • plural => Duplicates (%s)

pnv_erase_content_destination Filter that can be used to alter $destination array before 'wp_insert_post' get called when a copy, duplication or replacement is triggered This filter sends 3 other parameters: the $source object (WP_Post instance) and the $copy boolean

pnv_filtered_metas Filter that can be used to alter meta names that must not be treated while a post is copied, duplicated or replaced The default metas is an array with these values:

  • _pnv_duplicata => true

pnv_erase_content Action triggered at the end of a copy, duplication or replacement. This action sends 4 parameters:

  • the $source object (WP_Post instance)

  • the $destination array (represents post data)

  • the $copy boolean

  • the destination's post ID

pnv_action_url_redirect Filter that can be used to alter redirect URL after a copy, duplication or replacement. The default value is the admin edit page for the destination post (the one that has been saved) This filter sends 1 other parameter: the destination post ID pnv_{column_name}_column_value Filter that can be used to alter the value displayed on the posts list, in the '{column_name}' column. This plugin comes with only one custom column for now, 'duplicata', so {column_name} will always be 'duplicata', and the default value will be the count of duplicates for the post. This filter sends 1 other parameter: the post ID

Thank’s

The original version of this plugin has been developed by Lionel POINTET (https://github.com/lpointet) who keeps following the project carefully.

A big thank-you to Groupe Moniteur for which a great part of this development was intended and which accepted enthusiastically to do a completely open source plugin from it. Thank you to Uncategorized Creations people, for their regular advice and their perseverance in making WordPress a leading CMS.

GLOBALIS

GLOBALIS is a web IT consulting company based in Paris, and a pioneer of the PHP and LAMP platform. Since 1997, we have been designing, making and maintaining Internet, intranet or mobile software. We have been working with open source CMS since 2000 and have regularly been using WordPress since 2007.

Requires: 3.5 or higher
Compatible up to: 3.9.2
Last Updated: 2014-4-23
Downloads: 649

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,2,2
100,2,2
100,1,1