title: How to expire WooCommerce cart within 5 minutes? Trying to use filter hook but can't make it work
body: <p>I am trying to remove the content of carts after 5 minutes instead of the defined 48 hours of WooCommerce.</p>
  
  <p>I have added the code below to my site</p>
  
  <pre><code>add_filter( 'wc_session_expiration', function($seconds){ return 300;} );
  add_filter( 'wc_session_expiring', function($seconds){ return 299;} );
  </code></pre>
  
  <p>but nothing is happening, I even checked the wp_woocommerce_sessions table and see that the session_expiry of new entry is more than a day.</p>