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":210,"date":"2020-10-29T16:26:02","date_gmt":"2020-10-29T16:26:02","guid":{"rendered":"https:\/\/darwinia.standardof.net\/?page_id=210"},"modified":"2020-10-30T18:16:53","modified_gmt":"2020-10-30T18:16:53","slug":"unites","status":"publish","type":"page","link":"https:\/\/darwinia.standardof.net\/fr\/guide\/units\/","title":{"rendered":"Unit\u00e9s"},"content":{"rendered":"
Ces petites cr\u00e9atures pix\u00e9lis\u00e9es vertes sont la figure centrale du sc\u00e9nario du jeu. Ce sont les habitants naturels du monde num\u00e9rique qui existe sous le nom de Darwin Simulated Life Research Project. Celles-ci ne sont pas directement contr\u00f4lables et doivent \u00eatre influenc\u00e9es par l'agent.<\/p>\n<\/div><\/div>\n\n\n\n
Cette unit\u00e9 est cr\u00e9\u00e9e en ex\u00e9cutant le programme Ing\u00e9nieur \u00e0 proximit\u00e9 d'une de vos escouades ou de tours de contr\u00f4le captur\u00e9es. L'ing\u00e9nieur est utilis\u00e9 pour collecter des \u00e2mes pour engendrer plus de Darwiniens, reprogrammer et capturer des b\u00e2timents et enfin pour t\u00e9l\u00e9charger des donn\u00e9es de recherche.<\/p>\n<\/div><\/div>\n\n\n\n
V\u00e9hicules utilis\u00e9s comme transports de troupes blind\u00e9s et tourelles d\u00e9ployables \u00e0 l'usage des Darwiniens. Disponible pour la premi\u00e8re fois au niveau de la cour. Outil incroyablement utile pour permettre aux Darwiniens de vaincre les ennemis les plus puissants du jeu. Peut \u00eatre repris et utilis\u00e9 contre vous par les darwiniens rouges.<\/p>\n<\/div><\/div>\n\n\n\n