How to Remove wc_sessions in WooCommerce
Hello friends, today in this tutorial we will learn how to remove wc_sessions in WooCommerce. First, we will discuss why we need to remove these sessions from WooCommerce. These sessions make wp_options table heavy in size. These sessions _wc_session_xxx and _wc_session_expires_xxx entries are stored in wp_options table. There are two reasons behind this, below they are: Cron tasks not working on site A bot is crawling your site and creates sessions on the fly That’s the reason, _wc_session_xxx and _wc_session_expires_xxx entries stored in wp_options table and make your website Database heavy. We can avoid the bots to create these sessions