title: WooCommerce cart timeout/expire time
body: <p>German shops are covered by data protection.
  How to set a WooCOmmerce Cart Timeout to 30 minutes?</p>
  
  <p>Timeout have to clean cart (products and customer data like adress, email...).</p>
  
  <p>I found this code, but what i have to change to reduce the cart timeout to 30 mins?</p>
  
  <pre><code>if ( ! class_exists( 'WoocommerceLicenseAPI' ) ) {
  add_filter('wc_session_expiring' , array('WoocommerceLicenseAPI',       'filter_ExtendSessionExpiring') );
  
  add_filter('wc_session_expiration' , array('WoocommerceLicenseAPI', 'filter_ExtendSessionExpired') );
  {
  
  static function filter_ExtendSessionExpiring($seconds) {
      return (60 * 60 * 24 * 8) - (60 * 60);
  }
  static function filter_ExtendSessionExpired($seconds) {
      return 60 * 60 * 24 * 8;
  }
  </code></pre>