private function view_template() { $table = new \Podlove\File_Type_List_Table(); $table->prepare_items(); $table->display(); }
private function view_template() { ?> <h2> <a href="?page=<?php echo $_REQUEST['page']; ?> &podlove_tab=<?php echo $_REQUEST['podlove_tab']; ?> &action=new" class="add-new-h2"><?php echo __('Add New', 'podlove'); ?> </a> </h2> <p> <?php echo __('This is a list of all file types the publisher knows about. If you would like to serve assets of an unknown file type, you must add it here before you can create the asset.', 'podlove'); ?> </p> <?php $table = new \Podlove\File_Type_List_Table(); $table->prepare_items(); $table->display(); }