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


Top ↑

Return Return

(array) $prices Array of the remapped variable prices


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.