Posted By

webbografico on 03/24/10


Tagged


Versions (?)

Junk Remove from wp-head


 / Published in: PHP
 

  1. // remove junk from head
  2. remove_action('wp_head', 'rsd_link');
  3. remove_action('wp_head', 'wp_generator');
  4. remove_action('wp_head', 'feed_links', 2);
  5. remove_action('wp_head', 'index_rel_link');
  6. remove_action('wp_head', 'wlwmanifest_link');
  7. remove_action('wp_head', 'feed_links_extra', 3);
  8. remove_action('wp_head', 'start_post_rel_link', 10, 0);
  9. remove_action('wp_head', 'parent_post_rel_link', 10, 0);
  10. remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0);

Report this snippet  

You need to login to post a comment.