EDD_Register_Meta::sanitize_files( array $files = array() )
Sanitize the file downloads
Description Description
Ensures files are correctly mapped to an array starting with an index of 0
Parameters Parameters
- $files
-
(Optional) Array of all the file downloads
Default value: array()
Return Return
(array) $files Array of the remapped file downloads
Source Source
File: includes/class-edd-register-meta.php
Changelog Changelog
Version | Description |
---|---|
2.5 | Introduced. |