Plain. Simple.
Cheers!
function custom_smilies($text) {
$output = str_replace(get_settings('siteurl') . "/wp-includes/images/smilies/", "http://new.location.com/img/wp/", $text);
return $output;
}
add_filter('comment_text', 'custom_smilies', 30);
Note: This works for WordPress 2.0.1. I'll try and test with 2.7 and any other installations I have installed already later. :)
No comments:
Post a Comment