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":281,"date":"2020-10-30T19:34:33","date_gmt":"2020-10-30T19:34:33","guid":{"rendered":"https:\/\/darwinia.standardof.net\/?page_id=281"},"modified":"2020-10-30T20:05:46","modified_gmt":"2020-10-30T20:05:46","slug":"a-propos-de-darwinie","status":"publish","type":"page","link":"https:\/\/darwinia.standardof.net\/fr\/about-darwinia\/","title":{"rendered":"\u00c0 propos de Darwinia"},"content":{"rendered":"
\"\"
Les darwiniens sont \u00e9quip\u00e9s d'une tourelle pour tirer sur les virus ennemis<\/figcaption><\/figure><\/div>\n\n\n\n

Description officielle:<\/h4>\n\n\n\n

Combinant une action rapide et une planification de bataille strat\u00e9gique, Darwinia propose un m\u00e9canisme de contr\u00f4le novateur et intuitif, un style graphique extrait des classiques r\u00e9tro des ann\u00e9es 80 comme Tron et Defender, et une histoire concernant une tribu de sprites nomades pi\u00e9g\u00e9s dans un monde 3D moderne.<\/em><\/p>\n\n\n\n

\n
\n
\"\"<\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n