Junk Remove from wp-head


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.