You can set posts created by Toolset forms to automatically expire after a specified period. This is useful when you have content that can be created by users and you only want the posts to be visible for a specified period.
An example would be a site that accepts adverts from users. The user might pay for placing the ad on the site, and it might only be shown for 30 days.
You can enable automatic expiration of posts from the Forms tab, on the Toolset Settings page. You can have posts checked for expiration once hourly, twice daily, or once daily.
The Toolset form editor has an option in the Settings section for setting an Automatic Expiration Date per form. From here, you can enable automatic expiration for a form and set the expiration time. The expiration time can be set in minutes, hours, days or weeks.
You can also set what happens after expiration. The new post status can be set to the following:
- Keep original status
- Pending review
When you enable automatic expiration for a form, a new option is available in the notifications for the Toolset form. You can choose to send a notification message in an amount of minutes, hours, days or weeks before the post will expire.
In the following image, we notify the user who created the advert that it is going to expire in 5 days.
When Forms creates posts that are set to expire, the expiration time is also shown in the post editor.
You can manually change the expiration date and status for each post.
- Enabling Additional WooCommerce Fields in Product Forms
- Selecting Parent Posts when Using Forms to Create Child Items
- Displaying Form Data
- Allow users to manage their items
- Charge users for submitting content
- Show all related topics...
- Extending Form Functionality with Hooks
- Styling Front-End Forms
- Controlling Access to Front-End Forms
- Adding Generic Fields to Forms
- Send Notifications when Someone Submits the Form
- Deleting Content from The Front-End
- Front-end Forms for Editing Content
- Front-end Forms for Adding Content
- Using the Native Media Manager in Front-End Forms
- Protecting Forms from Spam
- Front-end Forms For Repeatable Field Groups
- Selecting allowed tags in front-end forms
- Letting Forms Edit Post and User Fields Created by Other Plugins
- Conditional Display for Form Inputs