I am assuming your custom taxonomy is hierarchal and you are attempting to get the children within the hierarchy. If so this previous answer may help
Get the children of the parent category
And this wp func: https://developer.wordpress.org/reference/functions/get_term_children/
Related Posts:
- How to add images to taxonomies?
- Using multiple taxonomies to sort Custom Posts
- wp_get_object_terms() to get a list of all the terms attached to all the posts in the current query
- SQL Statement generated by WP_Query not producing expected results
- Combine multiple custom user taxonomy in single url
- How to Get All Taxonomies AND All Terms For Each Taxonomy With Post Count Zero
- Taxonomy , subtaxonomy,child taxonomy of a product woocommerce
- Related Tags Concept
- Fetch all terms for an array of posts
- Strip post_tags from list of returned taxonomy terms
- How do I taxonomy terms based on terms they are used alongside?
- Taxonomies on custom taxonomies
- Combining categories (Query posts with multiple taxonomy terms)
- Modify users.php query with multiple taxonomies
- Query most popular terms by taxonomy over 2 week period
- I have custom post type with custom taxonomy. But not found the taxonomy page..
- How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop
- taxonomy query to output slugs instead IDs
- Exclude taxonomy term from list of current taxonomy terms
- How to get related taxonomies based on a category with mysql query?
- get terms hiding empty
- Custom Taxonomies Archive Page 404
- list all post who have mutual taxonomy as current taxonomy!
- Taxonomy archive, categorised by other taxonomy, not hiding empty taxonomies
- Combine Tax Archive and Meta_Query in WP_Query
- How to get multiple Taxonomies not All Taxonomies?
- Getting the correct value for a post
- Generate multiple tag query URLs
- Complex Taxonomy scheme
- WP_Query on custom taxonomy -> Location and Activity
- Modify Taxonomy pages to exclude items in child taxonomies
- Taxonomy: Why ‘with_front’ => false DOES NOT WORK?
- Efficient Taxonomy Intersection
- Get url of product’s images (woocommerce)
- Custom Taxonomy and Tax_Query
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Assign posts to taxonomy terms instead of the taxonomy terms to posts?
- How to modify the query in taxonomy-custom.php to sort term archives by a custom meta field?
- Filter posts by multiple custom taxonomy terms using AND operator in REST API v2 (WordPress)
- Taxonomy menu with post count and multiple parents
- Is it possible to add custom fields to a WooCommerce attribute term? [closed]
- SQL QUERY needed to get POST category (taxonomy) ? – MUST be SQL statement
- Exclude from search all custom posts which are NOT in a taxonomy term
- WP 5.8 “Query Loop” block: where to place custom query?
- WP_query taxonomy + get all posts with two terms from same taxonomy
- How to choose which template to be used for multiple taxonomy query?
- How to build a multi-taxonomy, multi-term query based on user input
- Counting number of posts with Category B in Category A
- Custom SQL Query on Custom Post Type. Order by Taxonomy?
- query multiple taxonomy and show post count
- Custom archive page based on array of categories and tags
- How to reduce the database query-es
- Group Custom post type in a page by its taxomony tag
- Taxonomy posts on Archive page
- How do I search WordPress by different fields without a plugin?
- Add_query_arg + two times the same argument?
- Multiple loops on page only show taxonomy name of first loop
- How to build a achieve page for a custom CPT with multiple taxonomy button filter
- Advanced Tax Query
- WP_Query use for a filter with multiple Taxonomies and Terms
- tax_query shows no results if nothing is selected
- Custom taxonomy template not working with simple loop. Multiple CPT using the same taxonomy
- Improving WP_Query performance for multiple taxonomies
- get complex results set according to category structure
- WP_Query tax_query on ACF post_object
- Paginated Taxonomy Term Archive including one post per term
- Query 1 taxonomy term, exclude another
- How can I display all post IDs from the taxonomy?
- Get ID and slug from taxonomy object
- Include CPT values in another CPT?
- “NOT ONLY IN” taxonomy query operator?
- Get image of latest post from taxonomies/categories
- How to display custom taxonomy in multiple columns?
- Best way to programmatically link to multiple categories (union/intersection) [closed]
- Custom taxonomies making WP very slow – Way to fix?
- How to count the number of terms in a taxonomy
- Exclude specific taxonomy term when using wp_get_post_terms
- get_terms() for custom taxonomy related to another taxonomy
- Query Custom Post Type Order By Taxonomy Field
- Sorting taxonomy columns by meta value numeric
- Get Taxonmy Term ID For Current Post
- Show list of custom taxonomies when another taxonomy is selected
- How to speed up a wordpress function with multiple loops?
- How do I query a taxonomy term range
- Create Advanced search with taxonomies (not filter list)
- Formulate a url to show posts with both taxonomy terms
- wp_dropdown_categories and custom taxonomy + custom post type
- How do I get a list of all categories that a given user has written blog posts for?
- Shortcode to show thumbnail and link for 3 random posts
- Creating a multi-taxonomy query, excluding the newest (read: highest ID) taxonomy term
- Using a checklist to search against metadata
- Adding multiple taxonomy filters to functions.php
- Include posts from feature category in pre_get_posts
- Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms
- Display sub categories and their data of a taxonomy
- Advanced Query Logic With Multiple Taxonomies
- Display only first level children of my custom taxonomy categories
- Is it possible to get all term items from a custom taxonomy regardless of post attachment status?
- $wpdb: Counting posts corresponding to 3 terms in 3 different taxonomies
- Changing stylesheet depending on custom taxonomy terms