WP_Http_Encoding::is_available

SummerySummery

Whether decompression and compression are supported by the PHP version.

Syntax

WP_Http_Encoding::is_available()

DescriptionDescription

Each function is tested instead of checking for the zlib extension, to ensure that the functions all exist in the PHP version and aren’t disabled.

ReturnReturn

(bool)

SourceSource

File: wp-includes/class-wp-http-encoding.php


			

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top