function custom_get_bloginfo( $show = '', $filter = 'raw' ) {
switch( $show ) {
case 'description':
$output = "my description";
break;
default:
$output = get_option('blogname');
break;
}
return $output;
}
add_filter('get_bloginfo', 'custom_get_bloginfo', 1, 2);
我用上面的代码它不起作用..