autoship_keep_logger_files_count

(src/logger.php) Allows devs to change the total number of log files kept at any one time. By default only 30 logs are kept at a time.

Example:

// increase days logger keeps records for to 40
function increase_logger_entries_kept(){
  return 40;
}
add_filter('autoship_keep_logger_files_count', 'increase_logger_entries_kept', 10, 1);

Still need help? Contact Us Contact Us