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


Top ↑

Return Return

(string) - the price ID if restricted, "all" otherwise


Top ↑

Source Source

File: includes/download-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.9 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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