automatic_feed_links
Enable/disable automatic general feed link outputting.
Description
automatic_feed_links( (bool) $add = true );
Parameters (1)
- 0. $add — Optional. (bool) =>
true
- Optional, default is true. Add or remove links. Defaults to true.
Usage
if ( !function_exists( 'automatic_feed_links' ) ) { require_once ABSPATH . WPINC . '/deprecated.php'; } // Optional, default is true. Add or remove links. Defaults to true. $add = true; // NOTICE! Understand what this does before running. $result = automatic_feed_links($add);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/deprecated.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
- }