Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Befreie den WordPress-Header von unnötigen Einträgen

<?php
/**
 * Befreit den Header von unnötigen Einträgen
 */
add_action('init', 'evolution_remheadlink');
function evolution_remheadlink()
{
    remove_action('wp_head', 'rsd_link');
    remove_action('wp_head', 'wp_generator');
    remove_action('wp_head', 'index_rel_link');
    remove_action('wp_head', 'wlwmanifest_link');
    remove_action('wp_head', 'feed_links', 2);
    remove_action('wp_head', 'feed_links_extra', 3);
    remove_action('wp_head', 'parent_post_rel_link', 10, 0);
    remove_action('wp_head', 'start_post_rel_link', 10, 0);
    remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);
    remove_action('wp_head', 'wp_shortlink_header', 10, 0);
    remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
}
Comment

PREVIOUS NEXT
Code Example
Php :: "^" means in php 
Php :: get server name php 
Php :: RouteSubscriber disallow user routes 
Php :: how to select max write textarea value in php 
Php :: Initialisez un tableau de 4 cases (contenant des nombres) et en faire la somme en créant une fonction somme php 
Php :: php mysql text mark question 
Php :: slideshow php 
Php :: php tools for visual studio package did not load correctly 
Php :: wordpress add_action echo on edit page 
Php :: make a global php function in laravel so that accessed anywhere 
Php :: Comment faire en sorte que le numéro de téléphone ne soit pas un champ obligatoire dans WooCommerce 
Php :: Adding Conditional Classes to Menu Items 
Php :: yii2 modules commands are not showing in console 
Php :: Laravel Dropzone Attachment Required is not working as expected 
Php :: exists:categories,id except a value laravel 
Php :: PHP str_getcsv — Parse a CSV string into an array 
Php :: VerifyEmailController in Api 
Php :: preg match apache log file 
Php :: laravel import csv 
Php :: convert array to associative array php 
Php :: bitnami wp user pass change 
Php :: Ajouter un texte par défaut sur toutes vos publications WordPress 
Php :: laravel error reporting code for view 
Php :: wordpress auto save draft 
Php :: https://www.codegrepper.com/documentation.php 
Php :: how to echo whole array php 
Php :: ubuntu add phpstorm to launcher 
Php :: download xampp php 5.3 for windows 7 64 bit 
Php :: multiply 
Php :: Call to a member function move() on null 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =