Fsockopen::accept_encoding(): string

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Retrieve the encodings we can accept

Return

string Accept-Encoding header value

Source

	return $responses;
}

/**
 * Retrieve the encodings we can accept
 *
 * @return string Accept-Encoding header value
 */
private static function accept_encoding() {
	$type = [];
	if (function_exists('gzinflate')) {
		$type[] = 'deflate;q=1.0';
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.