WPSEO_MyYoast_Proxy::set_header()protectedYoast 1.0

Sets the HTTP header.

This is a tiny helper function to enable better testing.

Метод класса: WPSEO_MyYoast_Proxy{}

Хуков нет.

Возвращает

null. Ничего (null).

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->set_header( $header );
$header(строка) (обязательный)
The header to set.

Код WPSEO_MyYoast_Proxy::set_header() Yoast 22.4

protected function set_header( $header ) {
	header( $header );
}