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:

functions.php
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.

  1. WPvivid icon WPvivid900,000+ installs apply_filters( 'bloginfo_rss', get_bloginfo_rss( 'name' ), 'name' ) includes/class-wpvivid-exporter.php:1525
  2. Memberful icon Memberful900+ installs apply_filters( 'bloginfo_rss', get_bloginfo_rss( $attribute ), $attribute ) src/private_user_feed.php:203
  3. Feed Anonymizer icon Feed Anonymizer10+ installs apply_filters( 'bloginfo_rss', get_bloginfo_rss('name'), 'name' ) feedanonymizer.plugin.php:21
  4. feed-modify-on-your-choice icon 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.