Filters the version of the HTTP protocol used in a request.
'1.0', $url
Sortie :
@param string $version Version of HTTP used. Accepts '1.0' and '1.1'. Default '1.0'. @param string $url The request URL.
// Modifier la valeur avec le filtre 'http_request_version'
add_filter('http_request_version', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre('1.0') {
// Modifier la valeur
return '1.0';
}
Chargement des actualités...