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":153,"date":"2020-10-31T14:02:43","date_gmt":"2020-10-31T18:02:43","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=153"},"modified":"2020-10-31T14:39:12","modified_gmt":"2020-10-31T18:39:12","slug":"operace-metal-shark-od-uef","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/cs\/supreme-commander\/campaign-walkthroughs\/uef-operation-metal-shark\/","title":{"rendered":"UEF Mission 3 - Operation Metal Shark"},"content":{"rendered":"
Po pov\u00fd\u0161en\u00ed na kapit\u00e1na za va\u0161e p\u0159edchoz\u00ed \u00fasil\u00ed ve Snow Blind m\u00e1te nyn\u00ed za \u00fakol v operaci Metal Shark m\u00ed\u0159it s Arnoldem do Matar sv\u011bta, kde Aeon vym\u00fdvaj\u00ed mozky nebo vra\u017ed\u00ed m\u00edstn\u00ed obyvatele. Operace Metal Shark bude prvn\u00ed prim\u00e1rn\u011b n\u00e1mo\u0159n\u00ed mapou, na kter\u00e9 budete bojovat v kampani UEF, a jedinou mis\u00ed, kter\u00e1 se bude to\u010dit v\u00fdhradn\u011b kolem pozemn\u00edch boj\u016f.<\/p>\n\n\n\n