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


Top ↑

Return Return

(int) The Price ID to select by default


Top ↑

Source Source

File: includes/download-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.