edd_create_protection_files( bool $force = false, bool $method = false )
Creates blank index.php and .htaccess files
Description Description
This function runs approximately once per month in order to ensure all folders have their necessary protection files
Parameters Parameters
- $force
-
(Optional)
Default value: false
- $method
-
(Optional)
Default value: false
Source Source
File: includes/admin/upload-functions.php
Changelog Changelog
Version | Description |
---|---|
1.1.5 | Introduced. |