/** * Responds to implement a custom part of the "Settings" - FORM_UPLOAD = "wc_ip_fileupload"; * * @param array|mixed $value Value to display in <tr>...<tr> */ public function set_upload_file_field($value = null) { if(empty ($value)) return; $up = new inoplugs_plupload(self::ID_PLUPLOAD_UNIQUE); $upload = $up->get_element_html(); ?> <div id="wc_plupload_container" ><span><?php echo $upload ?></span></div> <div id="<?php echo $value['id'].'refresh' ?>" class="button"><span><?php echo $value['refresh'] ?><span></div> <div style="clear: both;"><span id="status" ></span></div> <ul id="files" ></ul> <?php }