prefix . 'edn_subscriber'; $si_id = $_POST['rem']; if(!$si_id ==''){ foreach($si_id as $id){ $wpdb->delete( $table_name, array( 'id' => $id ), array( '%d' ) ); $_SESSION['edn_delete_smg'] = __('User deleted successfully.','edn-plugin'); } }else{ $_SESSION['edn_delete_smg'] = __('Fail to delete','edn-plugin'); } } ?>

Export as CSV prefix . 'edn_subscriber'; $subs_datas = $wpdb->get_results( " SELECT * FROM $table_name WHERE email IS NOT NULL AND TRIM(email) <> ''"); if (count($subs_datas) > 0) { foreach ($subs_datas as $subs_data) { ?>
id)).'">'; ?> email; ?> date; ?>