7.1.3. Deleting Section¶
Deleting means automatically deleting posts that are crawled by the plugin.
220.127.116.11. Deleting is active?¶
Enable this to activate automatic deleting of the posts that are crawled by the plugin. When you enable this, suitable posts (see: Delete posts older than (in minutes)) of the sites whose Active for post deleting? setting is checked will be deleted. If a site’s Active for post deleting? setting is not checked, the posts saved by using that site’s settings will not be deleted.
For the posts to be deleted, both this setting and Active for post deleting? setting of the site must be enabled.
18.104.22.168. Post Delete Interval¶
The time interval set in this setting will define how much time apart the post deleting job should run. See Maximum number of posts to delete for each run for an example.
This setting is visible only if Deleting is active? is enabled.
22.214.171.124. Maximum number of posts to delete for each run¶
The value set in this setting defines how many posts in total can be deleted when this event is run. The total count is calculated considering posts from all sites that are active for post deleting. This setting’s value must a number that is greater than 0.
Let’s consider the following case. You have
10 active sites each having
5 posts that are
suitable for deletion as shown in the following table.
|Site Name||Count of posts suitable for deletion|
Let’s also assume these. You have set this setting’s value to
Post Delete Interval is set to
Every 30 minutes. In this case, post deleting event
will automatically delete the posts by following a schedule shown in the following table.
|Time (minutes)||Site Name||Deleted Post Count|
126.96.36.199. Delete posts older than (in minutes)¶
The number set in this value defines at least how many minutes old a post should be so that it is suitable for deletion. When a post’s age is calculated, its creation date is used.
Post creation date is the WordPress post’s
Publish date. So, if you also save the post
creation date by retrieving it from the target web site, then that that will be considered
when determining the age of the post.
For example, let’s say that current date is
02.10.2019 12:00 and that you have set the value
for this setting to
43200, which is
30 days. In this case, all posts, which were crawled
by one of the sites that is currently active for post deleting (See: Active for post deleting?),
that were created before
02.09.2019 12:00 will be deleted considering the values you
have defined in Maximum number of posts to delete for each run and
Post Delete Interval.
188.8.131.52. Delete post attachments?¶
Normally, the plugin does not delete post attachments when deleting the posts. If you enable this setting, the posts will be deleted along with their attachments.
The attachments are the media items (see Media Library at WordPress) attached to the posts. When crawling a post, the plugin saves their images and files as media items in WordPress and attaches those media items to the post. Therefore, when you enable this setting, all of the images and files saved into your WordPress site by the plugin will be deleted along with the post.