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