WP_Http_Encoding::content_encoding()public staticWP 2.8.0

What encoding the content used when it was compressed to send in the headers.

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

Хуков нет.

Возвращает

Строку. Content-Encoding string to send in the header.

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

$result = WP_Http_Encoding::content_encoding();

Список изменений

С версии 2.8.0 Введена.

Код WP_Http_Encoding::content_encoding() WP 6.4.3

public static function content_encoding() {
	return 'deflate';
}