Adds a bulk action to all post types to allow setting the publish date to a specific date time.
Author: | Felix Eve (profile at wordpress.org) |
WordPress version required: | 4.7 |
WordPress version tested: | 4.9.8 |
Plugin version: | 1.0 |
Added to WordPress repository: | 15-10-2018 |
Last updated: | 15-10-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 10 |
Plugin URI: | |
Total downloads: | 9 989 |
Active installs: | 2 000+ |
Click to start download
|
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.
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.
ChangeLog