WordPress at a glance
function is not described

automatic_feed_links() WP 2.8.0

Deprecated in 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.

  • See: add_theme_support()

No Hooks.


Nothing (null).


automatic_feed_links( $add );
Add or remove links. Defaults to true.
Default: true

Code of automatic feed links: wp-includes/deprecated.php WP 5.2.2

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' );
		remove_action( 'wp_head', 'feed_links_extra', 3 ); // Just do this yourself in 3.0+