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 – ID number of the download to check
Returns
bool true if has variable prices, false otherwise
Source
File name: easy-digital-downloads/includes/download-functions.php
Lines:
1 to 9 of 9
function edd_has_variable_prices( $download_id = 0 ) { if( empty( $download_id ) ) { return false; } $download = new EDD_Download( $download_id ); return $download->has_variable_prices(); }