WordPress at Your Fingertips
function is not described

WP_Http_Encoding::content_encoding() public WP 2.8.0

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

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

No Hooks.


String. Content-Encoding string to send in the header.


$result = WP_Http_Encoding::content_encoding();


Since 2.8.0 Introduced.

Code of WP_Http_Encoding::content_encoding() WP 5.8.2

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