get_var($wpdb->prepare("SHOW TABLES LIKE %s", $wpdb->prefix . 'oneclickformsync_connections'));
$t2 = $wpdb->get_var($wpdb->prepare("SHOW TABLES LIKE %s", $wpdb->prefix . 'oneclickformsync_queue'));
$t3 = $wpdb->get_var($wpdb->prepare("SHOW TABLES LIKE %s", $wpdb->prefix . 'oneclickformsync_logs'));
if ($t1 && $t2 && $t3) {
esc_html_e('All custom tables active.', '1-click-form-sync');
} else {
esc_html_e('Database tables missing!', '1-click-form-sync');
}
?>