edd_get_default_variable_price( int $download_id )
Returns the default price ID for variable pricing, or the first price if none is set
Description Description
Parameters Parameters
- $download_id
-
(Required) ID number of the download to check
Return Return
(int) The Price ID to select by default
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
2.2 | Introduced. |