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":122,"date":"2020-10-31T12:58:50","date_gmt":"2020-10-31T16:58:50","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=122"},"modified":"2020-10-31T23:56:52","modified_gmt":"2020-11-01T03:56:52","slug":"pruvodce-kampani","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/cs\/supreme-commander\/campaign-walkthroughs\/","title":{"rendered":"N\u00e1vody na kampa\u0148"},"content":{"rendered":"

V Supreme Commander jsou 3 samostatn\u00e9 kampan\u011b, jedna pro ka\u017edou frakci, UEF, Cybran a Aeon. Ka\u017ed\u00e1 z kampan\u00ed m\u00e1 6 mis\u00ed, co\u017e je celkem 18. Ka\u017ed\u00e1 s\u00e9rie mis\u00ed bude zobrazovat hledisko a zapojen\u00ed uveden\u00e9 frakce do Nekone\u010dn\u00e9 v\u00e1lky, kter\u00e1 ve h\u0159e pohlt\u00ed vesm\u00edr.<\/p>\n\n\n\n

N\u011bkolik kl\u00ed\u010dov\u00fdch pozn\u00e1mek ke spr\u00e1v\u011b c\u00edl\u016f:<\/h3>\n\n\n\n