Warning: This function has been deprecated.
gzip_compression() WordPress Function
The gzip_compression() function is a WordPress function that enables gzip compression on a website. Gzip compression can help reduce the size of a website's files, making the site load faster for visitors. This function can be added to a WordPress site by adding the following line of code to the site's .htaccess file: AddHandler application/x-httpd-php .php The gzip_compression() function can also be added to a WordPress site's functions.php file.
gzip_compression() #
Unused function.
Source
File: wp-includes/deprecated.php
function gzip_compression() {
_deprecated_function( __FUNCTION__, '2.5.0' );
return false;
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |