WP_Http_Encoding::content_encoding()
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 Http Encoding::content encoding WP 6.2.2
public static function content_encoding() { return 'deflate'; }