Skip to content

Instantly share code, notes, and snippets.

@tekshrek
Forked from madnil/wp_modify_bloginfo.php
Created July 5, 2013 06:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tekshrek/5932330 to your computer and use it in GitHub Desktop.
Save tekshrek/5932330 to your computer and use it in GitHub Desktop.
<?php
function mn_modify_bloginfo($content, $feedelementname) {
Switch ($feedelementname) {
case 'name' : // Feed title
return "NEW_TITLE";
break;
default :
return $content;
break;
}
}
add_filter('bloginfo_rss', 'mn_modify_bloginfo', 10, 2);
?>
@tekshrek
Copy link
Author

tekshrek commented Jul 5, 2013

Besten Dank für diesen Code.
Dieser hat sofort funktioniert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment