<?phpfunction replaceImagePath($arg) {$content = str_replace('"images/', '"' . get_bloginfo('template_directory') . '/images/', $arg);return $content;}add_filter('the_content', 'replaceImagePath');
Standard input is empty
Standard output is empty
PHP Fatal error: Call to undefined function add_filter() in /home/L5twiM/prog.php on line 6
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!