Created
March 14, 2014 09:30
-
-
Save j4ckielord/9544745 to your computer and use it in GitHub Desktop.
Disable links in comments
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: DW Disable Links in Comments | |
* Description: Convert hyperlinks in comments to plain text url. | |
* Version: 1.0 | |
* Author: DesignWall | |
* Author URI: http://www.designwall.com/ | |
* License: GPLv3 or later | |
*/ | |
remove_filter('comment_text', 'make_clickable', 9); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment