Show downlodable files only for simple and bundles

This commit is contained in:
Almira Krdzic
2018-09-20 11:26:34 +02:00
parent 434083820c
commit 94ba69761d

View File

@@ -33,6 +33,8 @@ if ( ! defined( 'ABSPATH' ) ) {
$(this).show();
$(this).removeClass('hidden');
$(this).removeClass('show_if_downloadable');
$(this).addClass('show_if_simple');
$(this).addClass('show_if_bundle');
$(this).find('._download_limit_field, ._download_expiry_field').hide();
});