How to Remove WordPress RSS Feed

# WordPress RSS Feed Example
<link rel="alternate" type="application/rss+xml" 
      title="Junior to Expert » Google Extended User-Agent Bot Comments Feed" 
      href="" />

WordPress Feed Disable Codes

To remove the default /feed RSS links that come with WordPress, add the following code snippets into the functions.php file.

remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );
] }