Created
January 9, 2025 18:28
-
-
Save lukecav/b39cc59330533866b85078e9883534ac to your computer and use it in GitHub Desktop.
Update the logs retention period in WooCommerce to be 15 days from 30 days
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp option update woocommerce_logs_retention_period_days 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://developer.woocommerce.com/docs/logging-in-woocommerce/#1-configuring-the-logger
https://developer.wordpress.org/cli/commands/option/update/