Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

EDD_Register_Meta::remove_blank_rows( array $new )

Don’t save blank rows.


Description Description

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.


Parameters Parameters

$new

(Required) Array of all the meta values


Top ↑

Return Return

(array) $new New meta value with empty keys removed


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.