

/**----------------------------プラグイン「Flamingo」------------------------------*/

 add_filter('wpcf7_spam', 'custom_spam_filter');
   function custom_spam_filter($spam) {
       if ($spam) {
           return $spam;
       }
       
       // 同じIPから1分以内の送信を拒否
       $ip = $_SERVER['REMOTE_ADDR'];
       $last_submit = get_transient('cf7_submit_' . $ip);
       
       if ($last_submit) {
           $spam = true;
       } else {
           set_transient('cf7_submit_' . $ip, time(), 60);
       }
       
       return $spam;
   }<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://irm-co.jp/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://irm-co.jp/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://irm-co.jp/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://irm-co.jp/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://irm-co.jp/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://irm-co.jp/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
