Created
August 21, 2010 13:29
-
-
Save yuya-matsushima/542307 to your computer and use it in GitHub Desktop.
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: 上州nize Posts(仮) | |
Plugin URI: http://www.e2esound.com/ | |
Description: 投稿内容を上州弁ぽくします。 | |
Version: 焼きまんじゅう | |
Author: Yuya Terajima | |
Author URI: http://www.e2esound.com/ | |
*/ | |
function jyoshu($content) | |
{ | |
return preg_replace('/います。/','るべ。',$content); | |
} | |
add_filter('the_content','jyoshu'); | |
/* End of file jyoshunize-posts.php */ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment