Bulk edit publish date

Description

Adds a bulk action to all post types to allow setting the publish date to a specific date time.

The bulk action is by default applied to all post types.

The plugin uses input types of date and time to allow users to set the desired publish date / time.

This is a very lightweight plugin as has as little code as possible, and is also designed to be developer friendly
with alter hooks allowing other plugins to make changes to how this plugin operates.

Screenshots

  • Shows the set publish date bulk action in the drop down.
  • Shows setting the date using the html 5 date element type before the bulk action is applied.

Installation

The easiest way to install this plugin is to go to Add New in the Plugins section of your blog admin and search for
“Bulk edit publish date.” On the far right side of the search results, click “Install.”

If the automatic process above fails, follow these simple steps to do a manual install:

  1. Extract the contents of the zip file into your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Can I edit the post types that this bulk action will apply to?

The post types that this should be applied to can be editing by using the bulk_edit_publish_date_post_types filter.

For example you could put this in your code to remove the bulk action from the post type “post”:

add_filter('bulk_edit_publish_date_post_types', 'my_plugin_bulk_edit_publish_date_post_types');
function my_plugin_bulk_edit_publish_date_post_types($post_types) {
    unset($post_types['post']);
    return $post_types;
}
Can I edit the post data used to update the post before the post is saved?

Yes, the filter bulk_edit_publish_date_post_update_data can be used to make any changes to the update data before the
post is saved.

Can I edit the admin notice before it’s displayed?

Yes, the filter bulk_edit_publish_date_admin_notice can be used to make any changes to the admin notice before it’s
output to the screen.

Reviews

Worked like a charm

I was afriad becuase low downlowads and just one reviews but i worked as described without any issue. I want to thank you the author for make my life easier with this plugin. This plugin must have more 5 stars and more download i support you! Great Work!

Fantastic Plugin!

Took me hours to find this plugin - this is exactly what I needed, and does the job very nicely. I had 300 posts that needed to go live at midnight in two weeks, and it would have taken ages to do it the normal WordPress way, so this plugin enabled me to do it in 5 minutes (including installing the plugin!).
Read all 2 reviews

Contributors & Developers

“Bulk edit publish date” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • First version released.