Filters the X-Redirect-By header. Allows applications to identify themselves when they're doing a redirect.
$x_redirect_by, $status, $location
Sortie :
@param string|false $x_redirect_by The application doing the redirect or false to omit the header. @param int $status Status code to use. @param string $location The path to redirect to.
// Modifier la valeur avec le filtre 'x_redirect_by'
add_filter('x_redirect_by', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($x_redirect_by) {
// Modifier la valeur
return $x_redirect_by;
}
Chargement des actualités...