Created
September 4, 2018 23:26
-
-
Save tonejito/3d9cd49c9188b4e316f59f220ac29a04 to your computer and use it in GitHub Desktop.
Disable comments and pingbacks on a @WordPress site
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
-- https://perishablepress.com/wordpress-discussion-management-enable-or-disable-comments-and-pingbacks-via-sql/ | |
UPDATE posts SET comment_status = 'closed' , ping_status = 'closed' ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment