<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Feeds * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ add_filter( 'feed_link', 'genesis_feed_links_filter', 10, 2 ); /* function genesis_feed_links_filter() – Filter the feed URI if the user has input a custom feed URI. */ add_action( 'template_redirect', 'genesis_feed_redirect' ); /* function genesis_feed_redirect() – Redirect the browser to the custom feed URI. */