Advertisements

automatic_feed_links

Definition:
function automatic_feed_links( $add = true ) {}

Enable/disable automatic general feed link outputting.

Parameters

  • boolean $add: Optional, default is true. Add or remove links. Defaults to true.

Source code

function automatic_feed_links( $add = true ) {

	_deprecated_function( __FUNCTION__, '3.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+

}

549

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: