apply_filters( ‘unzip_file_use_ziparchive’, bool $ziparchive )

In this article

Filters whether to use ZipArchive to unzip archives.

Parameters

$ziparchivebool
Whether to use ZipArchive. Default true.

Source

if ( class_exists( 'ZipArchive', false ) && apply_filters( 'unzip_file_use_ziparchive', true ) ) {

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

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