WordPress at a glance
функция не описана

WP_REST_Server::remove_header() public WP 4.8.0

Removes an HTTP header from the current response.

It's a method of the class: WP_REST_Server{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$WP_REST_Server = new WP_REST_Server();
$WP_REST_Server->remove_header( $key );
$key(string) (required)
Header key.

Changelog

Since 4.8.0 Introduced.

Код WP_REST_Server::remove_header() WP 5.5.1

<?php
public function remove_header( $key ) {
	header_remove( $key );
}