updated plugin Easy Digital Downloads version 3.1.3

This commit is contained in:
2023-07-03 14:52:54 +00:00
committed by Gitium
parent 19f5bf5875
commit a7f6efbebb
26 changed files with 612 additions and 380 deletions

View File

@ -306,7 +306,7 @@ class EDD_Download {
* @param array $prices The array of variables prices.
* @param int|string The ID of the download.
*/
return (array) apply_filters( 'edd_get_variable_prices', $this->prices, $this->ID );
return array_filter( (array) apply_filters( 'edd_get_variable_prices', $this->prices, $this->ID ) );
}
/**