Skip to content

Instantly share code, notes, and snippets.

@DamianZaremba
Created August 14, 2012 22:34
Show Gist options
  • Save DamianZaremba/3353588 to your computer and use it in GitHub Desktop.
Save DamianZaremba/3353588 to your computer and use it in GitHub Desktop.
remove_action('rss_head', 'the_generator');
remove_action('rss2_head', 'the_generator');
remove_action('commentsrss2_head', 'the_generator');
remove_action('rdf_header', 'the_generator');
remove_action('atom_head', 'the_generator');
remove_action('comments_atom_head', 'the_generator');
remove_action('opml_head', 'the_generator');
remove_action('app_head', 'the_generator');
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'feed_links', 2);
remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'feed_links_extra', 3);
remove_action('wp_head', 'start_post_rel_link', 10, 0);
remove_action('wp_head', 'parent_post_rel_link', 10, 0);
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment