Last active
July 15, 2018 20:36
-
-
Save bmakowski/7bf5c5c4472c6b1bda4a266868234f38 to your computer and use it in GitHub Desktop.
Enable WooCommerce reviews
This file contains 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
-- to open reviews for currently added products | |
UPDATE wp_posts SET comment_status = 'open' WHERE post_type = 'product'; | |
-- to close reviews | |
UPDATE wp_posts SET comment_status = 'closed' WHERE post_type = 'product'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment