Jake Vanderwerf
2026-08-25 3d25ad7de4fdbb3eba2cde2a62422e6be5d79a0a
checks.php
@@ -43,6 +43,7 @@
      function() use($taxonomy, $termID) {
         $taxonomy = jvbCheckBase($taxonomy);
         $tax = get_taxonomy($taxonomy);
         if ($tax) {
         $query = new WP_Query([
            'post_type' => $tax->object_type,
            'posts_per_page' => 1,
@@ -57,6 +58,9 @@
         $result = ($query->have_posts()) ? 'true' : 'false';
         wp_reset_postdata();
         return $result;
         }
         return 'false';
      }
   );
}