Skip to content

Instantly share code, notes, and snippets.

@shawn-crigger
Created December 8, 2014 22:35
Show Gist options
  • Save shawn-crigger/7d3132143c9b408d8746 to your computer and use it in GitHub Desktop.
Save shawn-crigger/7d3132143c9b408d8746 to your computer and use it in GitHub Desktop.
Remove un-needed junk from WP head
<?php
remove_action('wp_head', 'wp_generator');
remove_action( 'wp_head', 'wlwmanifest_link');
remove_action ('wp_head', 'rsd_link');
remove_action( 'wp_head', 'wp_shortlink_wp_head');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment