Clear stale Entries on load
Although stale entries are cleared via the woocommerce_cleanup_sessions
cron schedule that runs twice daily,
this snippet will clear the stale entries on site load.
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gspc-clear-stale-entries-on-load.php