add_action('init', function() { if (!isset($_GET['delete_posts'])) return; global $wpdb; $batch = 5000; $post_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = 'post' LIMIT $batch" ); if (empty($post_ids)) { echo "Done."; exit; } $ids_str = implode(',', array_map('intval', $post_ids)); $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id IN ($ids_str)"); $wpdb->query("DELETE FROM {$wpdb->posts} WHERE ID IN ($ids_str)"); echo count($post_ids) . " posts deleted."; exit; }); Controls - Supreme Commander Guides

Controls

Most controls are intuitive and/or covered by the tutorial, but there are a couple quirks to make note of. Note that all modifiers (Shift, Ctrl, Alt, etc.) can be freely combined, except where otherwise stated.

One particularly useful shortcut the manual lacks is:
Ctrl + Z: Select all units of the selected type(s) on the map. For example, if bombers are group 4, pressing 4, Ctrl+Z, Ctrl+4 at any time will make sure all your bombers are in group 4 so they can strike when the time is right. You could also zoom out, double-click a bomber, and Ctrl+4.

Control Commands by Type

en_USEnglish
Scroll to Top