Show downlodable files only for simple and bundles
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user