
// AUTO FILTER: hide ᠨᠣᠮ category
if (isset($categories) && is_array($categories)) {
    $categories = array_filter($categories, function($cat){
        if (is_object($cat)) {
            $name = $cat->name ?? '';
            $slug = $cat->slug ?? '';
            return (mb_strpos($name,'ᠨᠣᠮ') === false && mb_strpos($slug,'ᠨᠣᠮ') === false);
        }
        return true;
    });
}


// AUTO FILTER: hide ᠨᠣᠮ category
if (isset($categories) && is_array($categories)) {
    $categories = array_filter($categories, function($cat){
        if (is_object($cat)) {
            $name = $cat->name ?? '';
            $slug = $cat->slug ?? '';
            return (mb_strpos($name,'ᠨᠣᠮ') === false && mb_strpos($slug,'ᠨᠣᠮ') === false);
        }
        return true;
    });
}

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.gaiha.net/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.gaiha.net/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.gaiha.net/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.gaiha.net/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.gaiha.net/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://www.gaiha.net/wp-sitemap-taxonomies-gcd_keyword-1.xml</loc></sitemap><sitemap><loc>https://www.gaiha.net/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
