Created
March 8, 2012 19:44
-
-
Save colorful-tones/2002941 to your computer and use it in GitHub Desktop.
remove capital_P_dangit funtion
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 | |
// Remove the capital_P_dangit function from Wordpress | |
// place in your themes' functions.php file, or | |
// better yet make a plugin and keep functionality | |
// out of your themes. | |
remove_filter( 'the_title', 'capital_P_dangit', 11 ); | |
remove_filter( 'the_content', 'capital_P_dangit', 11 ); | |
remove_filter( 'comment_text', 'capital_P_dangit', 31 ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment