Skip to main content
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Source Link

Try thisTry this instead:

add_action( 'wp_head', 'wpse58023_wp_head', 1 );
function wpse58023_wp_head() {

    // Removes main feed link(s)
    remove_action( 'wp_head', 'feed_links', 2 );

    // Removes comments feed link
    remove_action( 'wp_head', 'feed_links_extra', 3 );

}

Try this instead:

add_action( 'wp_head', 'wpse58023_wp_head', 1 );
function wpse58023_wp_head() {

    // Removes main feed link(s)
    remove_action( 'wp_head', 'feed_links', 2 );

    // Removes comments feed link
    remove_action( 'wp_head', 'feed_links_extra', 3 );

}

Try this instead:

add_action( 'wp_head', 'wpse58023_wp_head', 1 );
function wpse58023_wp_head() {

    // Removes main feed link(s)
    remove_action( 'wp_head', 'feed_links', 2 );

    // Removes comments feed link
    remove_action( 'wp_head', 'feed_links_extra', 3 );

}
Source Link
its_me
  • 4.5k
  • 9
  • 66
  • 114

Try this instead:

add_action( 'wp_head', 'wpse58023_wp_head', 1 );
function wpse58023_wp_head() {

    // Removes main feed link(s)
    remove_action( 'wp_head', 'feed_links', 2 );

    // Removes comments feed link
    remove_action( 'wp_head', 'feed_links_extra', 3 );

}