title: How to set cart expiration in woocommerce within 15 minutes?
body: <p>I have a wordpress website that allows non logged-in customers to order with the code below</p>
  
  <pre><code>global $woocommerce;
  $woocommerce-&gt;session-&gt;set_customer_session_cookie(true);
  </code></pre>
  
  <p>The issue that I am facing right now is that the products left unordered are left in cart because all non-logged-in custumers share the same woocommerce session.</p>
  
  <p>I am thinking of setting an expiry time to the session or the cart so that it can clear products in cart.</p>
  
  <p>The code that I saw in: <a href="https://stackoverflow.com/questions/41167646/woocommerce-set-cart-expiration-interval">Woocommerce Set Cart Expiration Interval</a> returns 72 hours in seconds</p>
  
  <pre><code>add_filter('wc_session_expiring', 'filter_ExtendSessionExpiring' );
  add_filter('wc_session_expiration' , 'filter_ExtendSessionExpired' );
  
  function filter_ExtendSessionExpiring($seconds) {
      return 60 * 60 * 71;
  }
  function filter_ExtendSessionExpired($seconds) {
     return 60 * 60 * 72;
  }
  </code></pre>
  
  <p>Do you know how can I make the filter return every 15 minutes?</p>
  
  <p>Any idea is appreciated. Thanks...</p>