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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 66
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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
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-content/plugins/seo-by-rank-math/includes/modules/sitemap/abstract-xml.php on line 69
https://standardof.net/post-sitemap1.xml
2026-09-09T13:32:28+00:00
https://standardof.net/post-sitemap2.xml
2026-09-09T08:15:29+00:00
https://standardof.net/post-sitemap3.xml
2026-09-08T23:48:36+00:00
https://standardof.net/post-sitemap4.xml
2026-09-08T22:22:37+00:00
https://standardof.net/post-sitemap5.xml
2026-09-08T22:21:35+00:00
https://standardof.net/post-sitemap6.xml
2026-09-07T23:10:51+00:00
https://standardof.net/post-sitemap7.xml
2026-09-07T22:59:34+00:00
https://standardof.net/post-sitemap8.xml
2026-09-07T22:02:53+00:00
https://standardof.net/post-sitemap9.xml
2026-09-07T20:07:48+00:00
https://standardof.net/page-sitemap1.xml
2026-08-13T06:21:16+00:00
https://standardof.net/page-sitemap2.xml
2026-08-13T06:21:16+00:00