autoship_clean_logger_files

src/logger.php) Within the the new autoship_log_entry() function and allows devs to enable / disable deletion of old log entries.

Example

// disable old log file deletion
function keep_all_logger_files(){
  return false;
}
add_filter('autoship_clean_logger_files', 'keep_all_logger_files', 10, 1);

Still need help? Contact Us Contact Us