Last active
March 11, 2016 17:01
-
-
Save rinatkhaziev/43dfd18357fb1de4a4fb to your computer and use it in GitHub Desktop.
Make Donald Drumpf Again
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 | |
add_filter( 'the_content', 'make_donald_drumpf_again', 666 ); | |
add_filter( 'the_title', 'make_donald_drumpf_again', 666 ); | |
add_filter( 'comment_text', 'make_donald_drumpf_again', 666 ); | |
function make_donald_drumpf_again( $content ) { | |
return str_replace( 'Trump', 'Drumpf', $content ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment