Skip to content

Instantly share code, notes, and snippets.

@Njengah
Forked from jarnesjo/functions.php
Created September 12, 2019 12:52
Show Gist options
  • Save Njengah/5c022e0e47e5dba2daf1c06ad1a3b0f2 to your computer and use it in GitHub Desktop.
Save Njengah/5c022e0e47e5dba2daf1c06ad1a3b0f2 to your computer and use it in GitHub Desktop.

Revisions

  1. @jarnesjo jarnesjo created this gist Feb 13, 2014.
    7 changes: 7 additions & 0 deletions functions.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    remove_action( 'wp_head', 'rsd_link' );
    remove_action( 'wp_head', 'wlwmanifest_link' );
    remove_action( 'wp_head', 'wp_generator' );
    remove_action( 'wp_head', 'start_post_rel_link' );
    remove_action( 'wp_head', 'index_rel_link' );
    remove_action( 'wp_head', 'adjacent_posts_rel_link' );
    remove_action( 'wp_head', 'wp_shortlink_wp_head' );