core/Theme.php
public function cleanDocumentHead()
    {
        remove_action('wp_head', 'feed_links_extra');
        remove_action('wp_head', 'feed_links');
        remove_action('wp_head', 'rsd_link');
        remove_action('wp_head', 'wlwmanifest_link');
        remove_action('wp_head', 'index_rel_link');
        remove_action('wp_head', 'parent_post_rel_link', 10);
        remove_action('wp_head', 'start_post_rel_link', 10);
        remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10);
        remove_action('wp_head', 'wp_generator');
    }
public function cleanDocumentHead()
    {
        remove_action('wp_head', 'feed_links_extra');
        remove_action('wp_head', 'feed_links');
        remove_action('wp_head', 'rsd_link');
        remove_action('wp_head', 'wlwmanifest_link');
        remove_action('wp_head', 'index_rel_link');
        remove_action('wp_head', 'parent_post_rel_link', 10);
        remove_action('wp_head', 'start_post_rel_link', 10);
        remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10);
        remove_action('wp_head', 'wp_generator');
    }
public function cleanDocumentHead ( ) { remove_action ( 'wp_head' , 'feed_links_extra' ) ; remove_action ( 'wp_head' , 'feed_links' ) ; remove_action ( 'wp_head' , 'rsd_link' ) ; remove_action ( 'wp_head' , 'wlwmanifest_link' ) ; remove_action ( 'wp_head' , 'index_rel_link' ) ; remove_action ( 'wp_head' , 'parent_post_rel_link' , 10 ) ; remove_action ( 'wp_head' , 'start_post_rel_link' , 10 ) ; remove_action ( 'wp_head' , 'adjacent_posts_rel_link_wp_head' , 10 ) ; remove_action ( 'wp_head' , 'wp_generator' ) ; }
Removes extra markup from the document head
Removes extra markup from the document head