Skip to content

Commit b613180

Browse files
committed
v1.3.8
🔧 Modify the Simple History purge interval
1 parent eb45d6e commit b613180

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

plugin.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: Plugin Meta
55
* Plugin URI: https://github.com/log1x/plugin-meta
66
* Description: A simple meta package for my commonly used WordPress plugins
7-
* Version: 1.3.7
7+
* Version: 1.3.8
88
* Author: Brandon Nifong
99
* Author URI: https://github.com/log1x
1010
* Licence: MIT
@@ -266,6 +266,13 @@ public function __invoke()
266266
return $logged;
267267
}, 10, 5);
268268

269+
/**
270+
* Modify the Simple History purge interval.
271+
*
272+
* @return int
273+
*/
274+
add_filter('simple_history/db_purge_days_interval', fn () => 15);
275+
269276
/**
270277
* Remove the post actions created by Page Generator Pro.
271278
*

0 commit comments

Comments
 (0)