| 开发者 | skldrth |
|---|---|
| 更新时间 | 2026年10月25日 23:22 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/.Yes, it uses WordPress's built-in scheduling system to run unpublish tasks. WP-Cron runs when someone visits the site, so on quiet sites an action can run a little late. The overview warns you when actions are overdue; a real server cron job makes them run on time.
Add define( 'DISABLE_WP_CRON', true ); to wp-config.php and let your host call https://your-site.com/wp-cron.php every 5 minutes with a server cron job. Most hosts have a "Cron jobs" screen for this. Without it, actions run on the first visit after their scheduled time.
Open Content Unpublisher > Overview and click History for the last 50 executed actions. A post that was changed to Draft also shows a note in the editor saying when and why.
The date and time you enter use the timezone configured under Settings > General.
Yes. Posts and pages are enabled by default. Enable other public post types, such as events or job listings, under Content Unpublisher > Settings. Developers can also change the list with the contun_post_types filter.
Normally yes. If your site sets EMPTY_TRASH_DAYS to 0, WordPress has no trash and the item is deleted permanently instead.
Yes: from the edit screen, from Quick Edit or Bulk Edit in the Posts list, or from the overview page (one at a time or in bulk).
EMPTY_TRASH_DAYS is 0)contun_post_types filter to change the enabled post types in code