Last active
December 21, 2015 08:29
-
-
Save hissy/6278767 to your computer and use it in GitHub Desktop.
[WordPress] Force comments and pingback close
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
<?php | |
/* | |
Plugin Name: Force comments and pingback close | |
Author: Takuro Hishikawa | |
Version: 0.1 | |
*/ | |
add_filter('comments_open', '__return_false'); | |
add_filter('pings_open', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment