tptn_log_retention_days
Prune old rows for a single site.
Filters tptn_maintenance_days and tptn_log_retention_days run inside this method so they execute in the correct switched-blog context.
Type: filter
Since: 4.3.0
Source: includes/cli/class-database-command.php line 359
Parameters
| Type | Name | Description |
|---|---|---|
array | $assoc_args | Command associative arguments. |
Usage
add_filter( 'tptn_log_retention_days', function($assoc_args) {
// ...
return $assoc_args;
} );