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; });
Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":104,"date":"2020-10-31T11:51:48","date_gmt":"2020-10-31T15:51:48","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=104"},"modified":"2020-10-31T12:55:43","modified_gmt":"2020-10-31T16:55:43","slug":"controlli","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/it\/supreme-commander\/controls\/","title":{"rendered":"Controlli"},"content":{"rendered":"

La maggior parte dei controlli sono intuitivi e \/ o coperti dal tutorial, ma ci sono un paio di stranezze di cui prendere nota. Nota che tutti i modificatori (Shift, Ctrl, Alt, ecc.) Possono essere combinati liberamente, tranne dove diversamente indicato.<\/p>\n\n\n\n

Una scorciatoia particolarmente utile che manca al manuale \u00e8:
Ctrl + Z:<\/strong> Seleziona tutte le unit\u00e0 del tipo selezionato sulla mappa. Ad esempio, se i bombardieri sono del gruppo 4, premendo 4, Ctrl + Z, Ctrl + 4 in qualsiasi momento ti assicurerai che tutti i tuoi bombardieri siano nel gruppo 4 in modo che possano colpire quando \u00e8 il momento giusto. Puoi anche rimpicciolire, fare doppio clic su un bombardiere e Ctrl + 4.<\/p>\n\n\n\n

Comandi di controllo per tipo<\/h3>\n\n\n\n