cliff
1/24/2017 - 5:59 PM

MT | TEC | Remove link to a recurring event's RSS feed from the <head>

MT | TEC | Remove link to a recurring event's RSS feed from the

<?php

/**
 * Removes link to a recurring event's RSS feed from the <head>
 */
function tribe_remove_recurring_feed() {
	if ( tribe_is_recurring_event() ) {
		remove_action( 'wp_head', 'feed_links_extra', 3 );
	}
}
add_action( 'template_redirect', 'tribe_remove_recurring_feed' );