You appear to be a bot. Output may be restricted
Description
Determine if the download has variable prices enabled
Usage
$bool = EDD_Download::has_variable_prices();
Parameters
Returns
bool True when the download has variable pricing enabled, false otherwise
Source
File name: easy-digital-downloads/includes/class-edd-download.php
Lines:
1 to 15 of 15
public function has_variable_prices() { $ret = get_post_meta( $this->ID, '_variable_pricing', true ); /** * Override whether the download has variables prices. * * @since 2.3 * * @param bool $ret Does download have variable prices? * @param int|string The ID of the download. */ return (bool) apply_filters( 'edd_has_variable_prices', $ret, $this->ID ); }