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":34,"date":"2020-10-15T16:58:25","date_gmt":"2020-10-15T16:58:25","guid":{"rendered":"https:\/\/steelstorm.standardof.net\/?page_id=34"},"modified":"2020-10-19T05:14:19","modified_gmt":"2020-10-19T05:14:19","slug":"chars-lourds","status":"publish","type":"page","link":"https:\/\/steelstorm.standardof.net\/fr\/guide\/enemy-units\/heavy-tanks\/","title":{"rendered":"Chars lourds"},"content":{"rendered":"
Les chars lourds sont consid\u00e9r\u00e9s comme une sorte de mini boss dans Temp\u00eate d'acier: vengeance ardente<\/em>, posant de s\u00e9rieuses menaces partout o\u00f9 ils se reproduisent, mais g\u00ean\u00e9s par leur vitesse lente et leur faible mobilit\u00e9. Il est presque toujours essentiel d'utiliser des obstacles pour vous d\u00e9fendre tout en engageant ces unit\u00e9s car elles sont \u00e9quip\u00e9es de plusieurs armes puissantes qui peuvent rapidement d\u00e9pouiller d'\u00e9normes points de vie.<\/p>\n<\/div><\/div><\/div>\n<\/div>\n\n\n\n