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":172,"date":"2020-10-31T14:30:29","date_gmt":"2020-10-31T18:30:29","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=172"},"modified":"2020-10-31T14:40:16","modified_gmt":"2020-10-31T18:40:16","slug":"operace-uef-forge","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/cs\/supreme-commander\/campaign-walkthroughs\/uef-operation-forge\/","title":{"rendered":"UEF Mission 5 - Operation Forge"},"content":{"rendered":"
Se za\u010d\u00e1tkem operace Forge se bohu\u017eel dozv\u00edme, \u017ee informace shrom\u00e1\u017ed\u011bn\u00e9 z va\u0161ich p\u0159edchoz\u00edch operac\u00ed nesta\u010dily k vy\u0159e\u0161en\u00ed probl\u00e9mu s Kvantov\u00fdmi branami. UEF bude muset nasadit superzbra\u0148 Black Sun, pokud m\u00e1 p\u0159e\u017e\u00edt, a abyste tak mohli ud\u011blat, budete muset dohl\u00ed\u017eet na obranu dal\u0161\u00edch d\u016fle\u017eit\u00fdch za\u0159\u00edzen\u00ed, zat\u00edmco posledn\u00ed ze zdroj\u016f budou p\u0159evedeny na Sol.<\/p>\n\n\n\n