apply_filters( 'unzip_file_use_ziparchive', bool $ziparchive )
Filters whether to use ZipArchive to unzip archives.
Parameters
-
$ziparchive
bool -
Whether to use ZipArchive. Default true.
Source
File: wp-admin/includes/file.php
.
View all references
if ( class_exists( 'ZipArchive', false ) && apply_filters( 'unzip_file_use_ziparchive', true ) ) {
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |