diff --git a/includes/admin/downloads/metabox.php b/includes/admin/downloads/metabox.php index 155170f35f2..3eeac64c49b 100755 --- a/includes/admin/downloads/metabox.php +++ b/includes/admin/downloads/metabox.php @@ -806,10 +806,12 @@ function edd_render_file_row( $key, $args, $post_id, $index ) { 'thumbnail_size' => null, ) ); - $prices = edd_get_variable_prices( $post_id ); - $variable_pricing = edd_has_variable_prices( $post_id ); - $variable_display = $variable_pricing ? '' : ' style="display:none;"'; - $variable_class = $variable_pricing ? ' has-variable-pricing' : ''; ?> + $prices = edd_get_variable_prices( $post_id ); + $variable_pricing = edd_has_variable_prices( $post_id ); + $variable_display = $variable_pricing ? '' : ' style="display:none;"'; + $variable_class = $variable_pricing ? ' has-variable-pricing' : ''; + $custom_file_options = has_action( 'edd_download_file_option_row' ); + ?>