Skip to main content
Easy Digital Downloads Documentation
Documentation, Reference Materials, and Tutorials for Easy Digital Downloads


This function will check whether a download has variable prices enabled. If the specified ID has variable prices, the function will return true, otherwise it will return false.


if( edd_has_variable_prices( $download_id ) ) {
	// download has variable prices enabled
} else {
	// variable prices are not enabled