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;
}


Top ↑

Changelog

Changelog
VersionDescription
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More