prefix . 'post_notification_emails'; echo '

' . __('Export Emails', 'post_notification') . '

'; $emails = $wpdb->get_results("SELECT email_addr FROM " . $t_emails . " WHERE gets_mail = 1"); if (!$emails){ echo '

' . __('No entries found.', 'post_notification') . '

'; return; } foreach($emails as $email) { echo $email->email_addr . '
'; } } ?>