}); }); // Finally, open the modal //file_frame.open(); }); </script> <?php $_filepaths = $mold->pm_get_mold_file_paths(); $the_file_paths = ''; if (!empty($_filepaths)) { $the_file_paths = implode(",", $_filepaths); } $the_download_limit = $mold->pm_get_mold_download_limit(); $the_download_expiry = $mold->pm_get_mold_download_expiry(); ?> <div class="field"> <label><a class="datatips" data-tip="<?php _e('Enter one or more File Paths, one per line, to make this variation a downloadable product, or leave blank.', 'woocommerce'); ?> " href="#">[?]</a> <?php _e('File paths:', 'woocommerce'); ?> </label><br> <textarea id="file_paths" class="short file_paths" wrap="off" name="file_paths" placeholder="<?php _e('File paths/URLs, one per line', 'woocommerce'); ?> " rows="2" cols="50"><?php if (!empty($the_file_paths)) { echo $the_file_paths;