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":1149,"date":"2020-11-11T08:25:27","date_gmt":"2020-11-11T13:25:27","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=1149"},"modified":"2020-11-11T19:09:34","modified_gmt":"2020-11-12T00:09:34","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/cs\/contact-us\/","title":{"rendered":"Kontaktujte n\u00e1s"},"content":{"rendered":"

Pokud se na n\u00e1s chcete obr\u00e1tit s dotazy nebo obavami, m\u016f\u017eete pou\u017e\u00edt formul\u00e1\u0159 n\u00ed\u017ee. Upozor\u0148ujeme, \u017ee podle na\u0159\u00edzen\u00ed GPDR bychom v\u00e1s r\u00e1di informovali, \u017ee kontaktn\u00ed formul\u00e1\u0159 pou\u017e\u00edv\u00e1 soubory cookie t\u0159et\u00edch stran (Formul\u00e1\u0159e Google<\/a>) pro \u00fa\u010dely p\u0159ihl\u00e1\u0161en\u00ed va\u0161\u00ed odpov\u011bdi. <\/p>\n\n\n\nPokud souhlas\u00edte s pou\u017e\u00edv\u00e1n\u00edm soubor\u016f cookie t\u0159et\u00edch stran, kliknut\u00edm sem na\u010dt\u011bte kontaktn\u00ed formul\u00e1\u0159.<\/a>\n\n\n\n

<\/div>
\n
<\/div>
\n