Keep More or Less Than 60 Days in Simple History

If you want to keep more or less than 60 days in Simple History, you can use this snippet in your functions.php or a plugin:

add_filter( "simple_history/db_purge_days_interval", function( $days ) {

    $days = 7;

    return $days;

} );