edd_get_file_price_condition( int $download_id, string $file_key )
Gets the Price ID that can download a file
Description Description
Parameters Parameters
- $download_id
-
(Required) Download ID
- $file_key
-
(Required) File Key
Return Return
(string) - the price ID if restricted, "all" otherwise
Source Source
File: includes/download-functions.php
Changelog Changelog
Version | Description |
---|---|
1.0.9 | Introduced. |