plugins\powenkoplugin\powenko.php
it will change content instead ‘foo’ of ‘bar’.
<?php /* Plugin Name: powenko plugin Plugin URI: http://www/powenko.com/ Description: see http://www.powenko.com Version: 2.5.3 Author: Powen Lp Author URI: http://www.powenko.com License: GPLv2 or later */ function my_function($text){ $text=str_replace('foo','bar',$text); return $text; } wp_enqueue_script('jquery'); add_filter('the_content','my_function'); add_filter('the_title','my_function'); ?>