This function has been deprecated. Use add_theme_support() instead.

automatic_feed_links( bool $add = true )

Enable/disable automatic general feed link outputting.


Description

See also


Parameters

$add

(bool) (Optional) Add or remove links. Defaults to true.

Default value: true


Source

File: wp-includes/deprecated.php

function automatic_feed_links( $add = true ) {
	_deprecated_function( __FUNCTION__, 'WP-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 WP-3.0+
}


Changelog

Changelog
Version Description
WP-3.0.0 Use add_theme_support()
WP-2.8.0 Introduced. This function has been deprecated. Use add_theme_support() instead.