updated plugin Easy Digital Downloads
version 3.1.3
This commit is contained in:
@ -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 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user