You appear to be a bot. Output may be restricted
Description
Checks to see if a download has variable prices enabled.
Usage
$bool = edd_has_variable_prices( $download_id );
Parameters
- $download_id
- ( int ) optional – Download ID.
Returns
bool True if the download has variable prices, false otherwise.
Source
File name: easy-digital-downloads/includes/download-functions.php
Lines:
1 to 14 of 14
function edd_has_variable_prices( $download_id = 0 ) { // Bail if no download ID was passed. if ( empty( $download_id ) ) { return false; } $download = new EDD_Download( $download_id ); return $download ? $download->has_variable_prices() : false; }