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
Pozn\u00e1mka:<\/strong> Video n\u00e1vody jsou prov\u00e1d\u011bny na Tvrd\u00fd<\/strong> a poskytnout nejpodrobn\u011bj\u0161\u00ed p\u0159ehled tohoto nastaven\u00ed obt\u00ed\u017enosti.<\/p>\n\n\n\nN\u00e1vody na kampa\u0148<\/h2>\n\n\n\n