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":117,"date":"2020-10-31T12:51:43","date_gmt":"2020-10-31T16:51:43","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=117"},"modified":"2020-10-31T12:51:43","modified_gmt":"2020-10-31T16:51:43","slug":"costruzione","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/it\/supreme-commander\/controls\/building\/","title":{"rendered":"Costruzione"},"content":{"rendered":"

Si tratta di vari comandi di scelta rapida da tastiera legati ad assistere il giocatore quando si tratta di costruire strutture o unit\u00e0 con ingegneri e fabbriche rispettivamente in Supreme Commander.<\/p>\n\n\n\n

Fare clic con il tasto sinistro sull'immagine dell'unit\u00e0:<\/strong> Costruisci 1 unit\u00e0 \/ struttura
Maiusc + clic sinistro:<\/strong> Costruisci 5 unit\u00e0
Clic destro:<\/strong> Annulla la costruzione di 1 unit\u00e0 \/ struttura
Maiusc + clic destro:<\/strong> Annulla la costruzione di 5 unit\u00e0 \/ strutture<\/p>\n\n\n\n

Fare clic con il tasto sinistro sulla mappa e tenere premuto:<\/strong> Costruisci strutture in questa linea
Maiusc + Ctrl + clic destro sul contorno di una struttura:<\/strong> Annulla la costruzione di questa struttura<\/p>\n\n\n\n

B:<\/strong> Attiva \/ disattiva la modalit\u00e0 Costruisci
     * In modalit\u00e0 Costruisci, le scorciatoie da tastiera si riferiscono a ogni singolo edificio.
     * Per ulteriori informazioni sulla modalit\u00e0 Build, vedere le sezioni successive di questa guida.<\/em>
Esc:<\/strong> Esci dalla modalit\u00e0 Costruisci<\/p>","protected":false},"excerpt":{"rendered":"

These are various keyboard shortcut commands tied to assisting the player when it comes to building structures or units with engineers and factories respectively in Supreme Commander. Left Click on unit picture: Build 1 unit\/structure Shift + Left Click: Build 5 units Right Click: Cancel building 1 unit\/structure Shift + Right Click: Cancel building 5 […]<\/p>\n","protected":false},"author":1,"featured_media":5,"parent":104,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"hf_cat_page":[10],"uagb_featured_image_src":{"full":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF.jpg",1600,680,false],"thumbnail":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-200x85.jpg",200,85,true],"medium":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-512x218.jpg",512,218,true],"medium_large":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-768x326.jpg",768,326,true],"large":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-800x340.jpg",800,340,true],"1536x1536":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-1536x653.jpg",1536,653,true],"2048x2048":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF.jpg",1600,680,false],"trp-custom-language-flag":["https:\/\/supcom.standardof.net\/wp-content\/uploads\/sites\/8\/2020\/10\/Supreme-Commander-Header-UEF-16x7.jpg",16,7,true]},"uagb_author_info":{"display_name":"SOE","author_link":"https:\/\/supcom.standardof.net\/it\/author\/k-tastic\/"},"uagb_comment_info":0,"uagb_excerpt":"These are various keyboard shortcut commands tied to assisting the player when it comes to building structures or units with engineers and factories respectively in Supreme Commander. Left Click on unit picture: Build 1 unit\/structure Shift + Left Click: Build 5 units Right Click: Cancel building 1 unit\/structure Shift + Right Click: Cancel building 5…","_links":{"self":[{"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/pages\/117"}],"collection":[{"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/comments?post=117"}],"version-history":[{"count":0,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/pages\/117\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/pages\/104"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/media\/5"}],"wp:attachment":[{"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"hf_cat_page","embeddable":true,"href":"https:\/\/supcom.standardof.net\/it\/wp-json\/wp\/v2\/hf_cat_page?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}