Class Delete_Old_Posts
Batch job om oude posts te verwijderen
- WP_Background_Process
-
SIW\Batch\Job
-
SIW\Batch\Delete_Old_Posts
Namespace: SIW\Batch
Copyright: 2019 Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at batch/delete-old-posts.php
Copyright: 2019 Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at batch/delete-old-posts.php
Methods summary
protected
array
|
|
protected
mixed
|
Methods inherited from SIW\Batch\Job
__construct()
,
cleanup()
,
complete()
,
empty_queue()
,
get_logger_context()
,
get_processed_count()
,
increment_processed_count()
,
init()
,
log()
,
set_logger_context()
,
set_processed_count()
,
start()
Constants summary
integer |
MAX_AGE_POST
Maximale leeftijd van post in maanden |
#
12
|
Properties summary
protected
string
|
$action
|
#
'delete_old_posts'
|
protected
string
|
$name
Naam van proces (voor logging en admin bar) |
#
'verwijderen oude posts'
|
protected
string
|
$category
Category (voor admin bar) |
#
'algemeen'
|
Properties inherited from SIW\Batch\Job
$batch_size
,
$logger_context_option
,
$prefix
,
$processed_count_option
,
$schedule_job