Skip to content

Instantly share code, notes, and snippets.

@fangcat
Created July 24, 2014 04:27
Show Gist options
  • Save fangcat/0b2a26e3b4cbb475f486 to your computer and use it in GitHub Desktop.
Save fangcat/0b2a26e3b4cbb475f486 to your computer and use it in GitHub Desktop.
移除WordPress 版本資訊
remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment