easydigitaldownloads/Easy-Digital-Downloads — pull request #2254 by daigo75 (2014-05-01 20:43:14+00:00)
Title: Added filter to allow modifying the variable prices

For simple downloads, the download price can be altered by adding a `edd_get_download_price` hook. The new hook will allow to do the same with variable prices, which, at the moment, cannot be modified if needed, because they are used straight away, in their raw form, as soon as they are loaded.

**Note**
The only workaround, without the new filter, is to implement a hook for each and every single filter fired whenever the variables prices are loaded. This can easily become hard to maintain in the long run, especially when the task to be performed against the variable prices is the same every time.