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

February 11, 2011 


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