Post Expirator
Add to ListThe PublishPress Future plugin allows you to schedule changes to posts, pages and other content types. With this plugin you can create automatic actions to unpublish, delete, trash, move a post to a new status and more. With the Pro version you can update your content using custom workflows with multiple steps and schedules.
Here’s an overview of what you can do with PublishPress Future:
- Select future action dates in the right sidebar when you are editing a post. This makes it very easy to schedule changes to your content.
- Receive email notifications when Future makes changes to your content.
- Build Action Workflows that allow you to update your content using custom workflows with multiple steps and schedules (available in the Pro version).
- Control post changes via integrations with Advanced Custom Fields and other plugins (available in the Pro version).
PublishPress Future Pro
Upgrade to PublishPress Future Pro
This plugin is the free version of the PublishPress Future plugin. The Pro version comes with all the features you need to schedule changes to your WordPress content. Click here to purchase the best plugin for scheduling WordPress content updates!
Options for Future Actions on Posts
With PublishPress Future, you can configure actions that will happen automatically to your content. Here are the changes you can choose for your posts:
- Change the status to “Draft”.
- Delete the post.
- Send the post to the Trash.
- Change the status to “Private”.
- Enable the “Stick to the top of the blog” option.
- Disable the “Stick to the top of the blog” option.
- Remove all existing categories, and add new categories.
- Keep all existing categories, and add new categories.
- Keep all existing categories, except for those specified in this change.
- Move the post to a custom status (available in the Pro version)
Click here for details on scheduling post changes.
Custom Workflows to Schedule Content Changes
With PublishPress Future Pro, you can build Action Workflows. These allow you to update your content using custom workflows with multiple steps and schedules. Here are some examples of what you can do with Action Workflows:
- Email the site admin when a post is updated.
- Change the post status to “Trash” a week after it was published.
- 15 days after the post is published, move the post to the “Draft” status and add a new category.
- 1 year after a post is published, send an email to the author asking them to check the content.
Click here for details on workflows for changes.
Display the Action Date in Your Content
PublishPress Future allows you to place automatically show the expiry or action date inside your articles. The date will be added at the bottom of your post.
Click here to see the Footer Display options.
You can use shortcodes to show the expiration date inside your posts. You can customize the shortcode output with several formatting options.
Click here to see the shortcode options.
Choose Actions Defaults for Post Types
PublishPress Future can support any post type in WordPress. Go to Settings > PublishPress Future > Defaults and you can choose default actions for each post type.
Click here to see the default options.
PublishPress Future Email Notifications
The PublishPress Future plugin can send you email notifications when your content is changed. You can control the emails by going to Settings > PublishPress Future > General Settings.
Click here to see the notification options.
Integrations With Other Plugins
In PublishPress Future Pro it is possible to schedule changes to your posts based on metadata. This makes it possible to integrate PublishPress Future with other plugins. For example, you can create a date field in the Advanced Custom Fields plugin and use that to control the date for Future Actions.
When you are using an integration, there are five types of data that you can update in PublishPress Future:
- Action Status: This field specifies if the action should be enabled.
- Action Date: This field stores the scheduled date for the action.
- Action Type: This field stores the type of action that will be executed.
- Taxonomy Name: The taxonomy name for being used when selecting terms.
- Taxonomy Terms: A list of term’s IDs for being used by the action.
Click here to see how to integrate Future with other plugins.
Import the Future Actions
PublishPress Future Pro supports imports from external data sources. You can import posts and automatically create Future Actions associated with those posts.
The best approach is to use the Metadata Scheduling feature. If you’re using a plugin such as WP All Import, you can match up the import tables with the fields you have selected in the Metadata Scheduling feature.
Click here to see how to import data for Future Actions.
Details on How Post Changes Works
For each expiration event, a custom cron job is scheduled. This can help reduce server overhead for busy sites. This plugin REQUIRES that WP-CRON is setup and functional on your webhost. Some hosts do not support this, so please check and confirm if you run into issues using the plugin.
Click here to see the technical details for this plugin.
Logs for All Your Post Changes
PublishPress Future Pro allows you to keep a detailed record of all the post updates. PublishPress Future records several key data points for all actions:
- The post that the action was performed on.
- Details of the post update.
- When the change was made to the post.
Click here to see more about the logs feature.
Join PublishPress and get the Pro plugins
The Pro versions of the PublishPress plugins are well worth your investment. The Pro versions have extra features and faster support. Click here to join PublishPress.
Join PublishPress and you’ll get access to these nine Pro plugins:
- PublishPress Authors Pro allows you to add multiple authors and guest authors to WordPress posts.
- PublishPress Blocks Pro has everything you need to build professional websites with the WordPress block editor.
- PublishPress Capabilities Pro is the plugin to manage your WordPress user roles, permissions, and capabilities.
- PublishPress Checklists Pro enables you to define tasks that must be completed before content is published.
- PublishPress Future Pro is the plugin for scheduling changes to your posts.
- PublishPress Permissions Pro is the plugin for advanced WordPress permissions.
- PublishPress Planner Pro is the plugin for managing and scheduling WordPress content.
- PublishPress Revisions Pro allows you to update your published pages with teamwork and precision.
- PublishPress Series Pro enables you to group content together into a series
Together, these plugins are a suite of powerful publishing tools for WordPress. If you need to create a professional workflow in WordPress, with moderation, revisions, permissions and more… then you should try PublishPress.
Bug Reports
Bug reports for PublishPress Future are welcomed in our repository on GitHub. Please note that GitHub is not a support forum, and that issues that are not properly qualified as bugs will be closed.
[4.1.1] – 12 Nov, 2024
Fixed
- Fix the layout of inserter in the workflow editor for WP 6.7 (Issue #1025).
- Fix the layout of the top toolbar in the workflow editor for WP 6.7 (Issue #1028).
Changed
- Minimum required version of WordPress is now 6.7.
- Minimum required version of PHP is now 7.4.
[4.1.0] – 11 Nov, 2024
Added
- Add more detailed debug logs to the workflow engine (Issue #724).
- Add button to copy the debug logs to the clipboard (Issue #724).
- Add “Published” status to the legacy expiration statuses (Issue #1023).
- Add new workflow step to write a log message (Issue #690).
Fixed
- Fixed the timezone in the default date applied from default action time (Issue #1005).
- Fixed the timezone in the date preview (Issue #1004).
Changed
- Improved the debug log viewer adding text to a textarea (Issue #724).
- Improve the debug log viewer adding a button to download the entire log or copy it to the clipboard (Issue #724).
- The debug log viewer now automatically scrolls to the bottom when the page loads (Issue #724).
- Deprecate the class
PublishPressFutureModulesDebugDebug
and use the logger facade instead. - Better handling of the exceptions and errors thrown by the plugin.
- Removed the admin submenu item “Scheduled Actions” and added a button in the workflows list screen (Issue #1022).
- Removed the “post-expirator-debug.php” file which is no longer used.
Developers
- Add new class
PublishPressFutureFrameworkSystemDateTimeHandler
to handle date and time operations. - Change the REST API
/settings/validate-expire-offset
endpoint return value renamingpreview
tocalculatedTime
. - Change the REST API
/settings/validate-expire-offset
endpoint to log an error message when the offset is invalid. - Add
DateTimeHandlerInterface
as dependency to the classPublishPressFutureModulesExpiratorModelsPostTypeDefaultDataModel
. - Add
LoggerInterface
as dependency to the classPublishPressFutureModulesExpiratorModule
. - Add
DateTimeHandlerInterface
as dependency to the classPublishPressFutureModulesExpiratorModule
. - Deprecated the constant
PublishPressFutureCore::ACTION_ADMIN_ENQUEUE_SCRIPT
in favor ofPublishPressFutureCore::ACTION_ADMIN_ENQUEUE_SCRIPTS
. - Remove the action
publishpressfuture_workflow_engine_running_step
from the workflow engine. - Add new methods to the class
PublishPressFutureFrameworkLoggerLogger
to retrieve the log count, the log size, and to fetch the latest logs. - Node runner processors now accept a branch argument to get the next steps and run the next steps.
[4.0.4] – 24 Oct, 2024
Fixed
- Fix the workflows list screen to be shown only to users with
manage_options
capability (Issue #998). - Fix compatibility with the “WP Remote User Sync” plugin (Issue #999).
[4.0.3] – 22 Oct, 2024
Changed
- Add the banner notice to the workflows list screen.
Fixed
- Fix PHP warning when post attribute is empty in the workflow model (Issue #987, #988).
- Fix error when
manage_posts_columns
filter do not receive a post type (Issue #990). - Fix error about undefined index: date (Issue #991).
[4.0.2] – 21 Oct, 2024
Fixed
- Fix error when the filter
the_title
is called without an ID, #984
[4.0.1] – 21 Oct, 2024
Fixed
- Fix the database schema check for version 4.0.0 on fresh installations, (Issue #928).
[4.0.0] – 21 Oct, 2024
Added
- Add the Workflows feature, with the workflow editor and the workflow engine.
Changes
- The list of scheduled actions now displays the repetition count/date limits (Issue #928).
- Update language files.
- Updated the UI in the advanced settings page.
- Move some advanced settings to the “Display” tab (Issue #952)
- Add title to the future action panel for UI consistency (Issue #965)
- Renamed the PublishPress Future metabox to Future Actions for UI consistency (Issue #965)
Fixed
- Update post model to update post date when setting post status to publish.
- Prevent error when the current_post->ID is empty for unknown reasons, usually related to 3rd party plugins.
Developers
- Interface
PublishPressFutureCoreHookableInterface
: Add new methodremoveFilter
to remove a hooked filter. - Interface
PublishPressFutureCoreHookableInterface
: Add new methodremoveAction
to remove a hooked action. - Class
PublishPressFutureFrameworkWordPressFacadeHooksFacade
: Add new methodremoveFilter
to remove a hooked filter. - Class
PublishPressFutureFrameworkWordPressFacadeHooksFacade
: Add new methodremoveAction
to remove a hooked action. - New method to publish posts using the class PublishPressFutureFrameworkWordPressModelsPostModel.
- Add new filter ‘publishpressfuture_migrations’ to filter the list of migrations that will be executed.
- Call the action ‘publishpressfuture_fix_db_schema’ when a DB fix is executed from the settings page.
- Call the action ‘publishpressfuture_upgrade_plugin’ when the plugin is upgraded.
- Change the data type from void to int for the method ‘PublishPressFutureModulesExpiratorInterfacesCronInterfac::scheduleRecurringAction’.
- Change the data type from void to int for the method ‘PublishPressFutureModulesExpiratorInterfacesCronInterfac::scheduleAsyncAction’.
- Add new filter ‘publishpressfuture_schema_is_healthy’ to check if the DB schema is healthy.
- The method ‘PublishPressFutureModulesWorkflowsModelsWorkflowModel::getStepFromRoutineTreeRecursively’ now always returns an array.
- Add new filter ‘action_scheduler_list_table_column_recurrence’ to filter the recurrence column in the scheduled actions list.
- Add new method ‘getNodeById’ to the class ‘PublishPressFutureModulesWorkflowsModelsWorkflowModel’.
[3.4.4] – 21 Aug, 2024
Fixed
- Improve notice message when scheduled action runs after pressing “run” (PR #896).
- Fixed support for the Event Espresso plugin (PR #900).
- Fixed React warning about createRoot being deprecated.
- Fixed empty fieldset displayed when the bos is disabled for the post type (Issue #792).
- Update language files.
Changed
- Add tabs for post types in the post types settings page (PR #895).
Added
- Added computed date preview to the general settings page (PR #897).
- Added option to hide the calendar by default in the future action panel (PR #899).
- Added new filter
publishpressfuture_posts_future_action_column_output
to the Future Action column.
[3.4.3] – 06 Aug, 2024
Changed
- Remove icon from the Future metabox in the block editor, #821
Fixed
- Update translation files
- Only load the quick-edit script if in the post list screen
- Fix quick edit action box to use the filter to hide action box when deactivated for the post type, #884
- Fixed the database schema check to also check the debug log table, #887
- Fixed the database schema check to check the table indexes, #887