Function edd_metabox_save_check_blank_rows
Don't save blank rows.
When saving, check the price and file table for blank rows. If the name of the price or file is empty, that row should not be saved.
Package: EDD\Admin\Downloads
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.2.2
Located at includes/admin/downloads/metabox.php
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.2.2
Located at includes/admin/downloads/metabox.php
Parameters summary
array |
$new |
Array of all the meta values |
Return value summary
array
|
$new New meta value with empty keys removed |