Delete your any blog post, page, or any other custom post type automatically after a certain time. This plugin will help you to delete a post after expiration of the given time which you can set during a post publish. Set a time from the time and date input field and be tension free! The plugin will do the rest for you. You can also select from the options checkbox in the Auto Delete Posts menu page where to add this automatic post deletion functionality.
屏幕截图
安装
The easy way.
Go to your WordPress Dashboard. Navigate to Plugins > Add New and then search for “Auto Delete Post”. Click on Install and then Activate the Plugin.
That’s it, Auto Delete Post Plugin is now activated on your site!
The hard way..
Download “Auto Delete Post WordPress Plugin” and then extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.
Its a good idea to create such plugin and could be useful but when i try to activate, my website become dead. A message shown “There has been a critical error on this website. Please check your site admin email inbox for instructions.”Only way to fix it , was to login to server and rename the folder of plugin.Then website start to work again and logged to wordpress admin .Then renamed again folder to original name and on plugins of admin i clicked button to delete.Not work on 6.2 version wordpress . (I have PHP 7.4 and mysql 8.0)