Remove Wordpress blog features


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



Copy this code and paste it in your HTML
  1. //Add this to your functions.php file to remove all blog features
  2. remove_action( 'wp_head', 'feed_links_extra', 3 );
  3. remove_action( 'wp_head', 'feed_links', 2 );
  4. remove_action( 'wp_head', 'rsd_link' );
  5. remove_action( 'wp_head', 'wlwmanifest_link' );
  6. remove_action( 'wp_head', 'index_rel_link' );
  7. remove_action( 'wp_head', 'parent_post_rel_link', 10, 0 );
  8. remove_action( 'wp_head', 'start_post_rel_link', 10, 0 );
  9. remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
  10. remove_action( 'wp_head', 'wp_generator' );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.