<?php
/**
 * List of Items
 *
 * @package     Wow_Plugin
 * @subpackage  Admin/Items
 * @author      Dmytro Lobov <i@lobov.dev>
 * @copyright   2019 Wow-Company
 * @license     GNU Public License
 * @version     1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

require_once 'class-list-table.php';

$list_table = new Wow_List_Table( $data, $this->plugin );
$list_table->prepare_items();
?>
<div class="wrap">
	<form method="post">
		<?php
		$list_table->search_box( esc_attr__( 'Search', 'side-menu' ), $this->plugin['slug'] );
		$list_table->display();
		?>
		<input type="hidden" name="page" value="<?php echo sanitize_text_field( $_REQUEST['page'] ); ?>"/>
	</form>
</div>
