| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; |
| 2 |
/** |
| 3 |
* List of Elements |
| 4 |
* |
| 5 |
* @package Wow_Plugin |
| 6 |
* @copyright Copyright (c) 2018, Dmytro Lobov |
| 7 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 |
* @since 1.0 |
| 9 |
*/ |
| 10 |
if ( ! defined( 'ABSPATH' ) ) exit; |
| 11 |
|
| 12 |
require_once 'class-list-table.php'; |
| 13 |
$list_table = new Wow_List_Table( $data, $this->plugin_slug, $this->shortcode ); |
| 14 |
$list_table->prepare_items(); |
| 15 |
?> |
| 16 |
<div class="wrap"> |
| 17 |
<form method="post"> |
| 18 |
<?php |
| 19 |
$list_table->search_box( __( 'Search', 'wpcoder' ), $this->plugin_slug ); |
| 20 |
$list_table->display(); |
| 21 |
?> |
| 22 |
<input type="hidden" name="page" value="<?php echo sanitize_text_field( $_REQUEST['page'] ); ?>" /> |
| 23 |
</form> |
| 24 |
</div> |
| 25 |
|