$source );
}
}
return true;
}
/**
* Clear all logs older than a defined number of days. Defaults to 30 days.
*
* @since 3.4.0
*/
public function clear_expired_logs() {
$days = absint( apply_filters( 'cartflows_logger_days_to_retain_logs', 30 ) );
$timestamp = strtotime( "-{$days} days" );
foreach ( $this->handlers as $handler ) {
if ( is_callable( array( $handler, 'delete_logs_before_timestamp' ) ) ) {
$handler->delete_logs_before_timestamp( $timestamp );
}
}
}
}
Warning: Cannot modify header information - headers already sent by (output started at /home/hurnczha/public_html/wp-content/plugins/elementor/elementor.php:1) in /home/hurnczha/public_html/wp-includes/pluggable.php on line 1531
Warning: Cannot modify header information - headers already sent by (output started at /home/hurnczha/public_html/wp-content/plugins/elementor/elementor.php:1) in /home/hurnczha/public_html/wp-includes/pluggable.php on line 1534