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()


Top ↑

Return Return

(array) $files Array of the remapped file downloads


Top ↑

Source Source

File: includes/class-edd-register-meta.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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