Return to Snippet

Revision: 31940
at September 16, 2010 05:28 by joseduenas


Initial Code
function fb_disable_feed() {
wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') );
}

add_action('do_feed', 'fb_disable_feed', 1);
add_action('do_feed_rdf', 'fb_disable_feed', 1);
add_action('do_feed_rss', 'fb_disable_feed', 1);
add_action('do_feed_rss2', 'fb_disable_feed', 1);
add_action('do_feed_atom', 'fb_disable_feed', 1);

Initial URL

                                

Initial Description

                                

Initial Title
Desactivar feed WordPress

Initial Tags
wordpress

Initial Language
PHP