WordPress filter hook · part of WordPress core
bloginfo_rss
A WordPress core filter that 4 plugins also fire themselves, running on 901K+ sites between them.
How to use bloginfo_rss
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'bloginfo_rss', function( $bloginfo_rss, $attribute ) {
// Change $bloginfo_rss here.
return $bloginfo_rss;
}, 10, 2 );Argument names come from Memberful's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
4 plugins that fire bloginfo_rss
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WPvivid900,000+ installs
apply_filters( 'bloginfo_rss', get_bloginfo_rss( 'name' ), 'name' )includes/class-wpvivid-exporter.php:1525 -
Memberful900+ installs
apply_filters( 'bloginfo_rss', get_bloginfo_rss( $attribute ), $attribute )src/private_user_feed.php:203 -
Feed Anonymizer10+ installs
apply_filters( 'bloginfo_rss', get_bloginfo_rss('name'), 'name' )feedanonymizer.plugin.php:21 -
feed-modify-on-your-choice10+ installs
apply_filters( 'bloginfo_rss', get_bloginfo_rss($show), $show )feedfile/feed.php:49
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.