WordPress at a glance
function is not described

automatic_feed_links() WP 2.8.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. Use add_theme_support() instead.

Enable/disable automatic general feed link outputting.

No Hooks.

Return

````. Null. Nothing.

Usage

automatic_feed_links( $add );
$add(true|false)
Add or remove links.
Default: true

Notes

  • See: add_theme_support()

Changelog

Since 2.8.0 Introduced.
Deprecated Since 3.0.0 Use add_theme_support()

Code of automatic_feed_links() WP 5.7

<?php
function automatic_feed_links( $add = true ) {
	_deprecated_function( __FUNCTION__, '3.0.0', "add_theme_support( 'automatic-feed-links' )" );

	if ( $add )
		add_theme_support( 'automatic-feed-links' );
	else
		remove_action( 'wp_head', 'feed_links_extra', 3 ); // Just do this yourself in 3.0+.
}