Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




automatic_feed_links [ WordPress Function ]

automatic_feed_links ( $add = true )
Parameters:
  • (boolean) $add Optional, default is true. Add or remove links. Defaults to true.
Defined at:



Enable/disable automatic general feed link outputting.

Source


<?php
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'); // Just do this yourself in 3.0+
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics