woocommerce_cleanup_order_debug_logs_max_age
woocommerce_cleanup_order_debug_logs_max_age
Appears in: woocommerce.10.9.1
Hook Type: filter
Displaying hooks found in version: woocommerce.10.9.1apply_filters('woocommerce_cleanup_order_debug_logs_max_age') is found 1 times:
- /src/Internal/Logging/OrderLogsCleanupHelper.php line 84
* @param int $max_age_in_seconds The maximum age in seconds before cleanup. Default 3 days. * * @since 10.7.0 */ return absint( apply_filters( 'woocommerce_cleanup_order_debug_logs_max_age', 3 * DAY_IN_SECONDS ) ); } /** * Run all cleanup tasks: dangling order meta and old log files. * * @since 10.7.0