Created
March 11, 2019 20:33
-
-
Save fearlex/fec756ad76227c9b961f775e57e1a910 to your computer and use it in GitHub Desktop.
Wordpress/Woocommerce Cleanups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##-- Delete All Transients | |
DELETE FROM `wp_options` WHERE `option_name` LIKE '%_transient_%'; | |
##-- Remove any WooCommerce wc_sessions from your database. | |
DELETE FROM wp_options | |
WHERE option_name LIKE '_wc_session_%' OR option_name LIKE '_wc_session_expires_%'; | |
##-- Remove any transients set by WooCommerce from your database. | |
DELETE FROM wp_options | |
WHERE option_name LIKE '_transient_wc_%' OR option_name LIKE '_transient_timeout_wc_%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment