edd_is_file_at_download_limit( int $download_id, int $payment_id, int $file_id, int|false $price_id = false )

Checks if a file is at its download limit


Description Description

This limit refers to the maximum number of times files connected to a product can be downloaded.


Parameters Parameters

$download_id

(Required) Download ID

$payment_id

(Required) Payment ID

$file_id

(Required) File ID

$price_id

(Optional) Price ID

Default value: false


Top ↑

Return Return

(bool) True if at limit, false otherwise


Top ↑

Source Source

File: includes/download-functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.3.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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