get_terms() does what you want.
<?php
$cities = get_terms( 'state', array(
'child_of' => 3 //ID of the state term
//other args you want see the docs
));
var_dump($cities);
Not tested but it should work.
GL
Related Posts:
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- Get the the top-level parent of a custom taxonomy term
- Custom taxonomy, get_the_terms, listing in order of parent > child
- Determine Term depth
- How to enable hierarchical permalinks for hierarchical taxonomies
- Get taxonomy name of current post
- Determine if Term has Grandparent/Great-Grandparent
- Custom Taxonomy Relationship (ex: plant classification)
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- How to fix a double slash in custom permalinks with hierarchical taxonomy’s?
- How to include parent terms in hierarchical taxonomy URLs?
- How to set hierarchical terms to a post using wp_set_object_terms
- Help building array hierarchically with taxonomies (to get posts)
- Hierarchical display of custom taxonomy
- How to get parents of custom taxonomy, as what get_category_parents() do?
- Populating dropdown menu with hierarchical taxonomies
- Taxonomies: display hierarchical parent list
- Display hierarchical subterms of custom taxonomy based on depth
- Redirect all child taxonomy to its parent
- How do I display a list of posts under all hierarchical children of the current taxonomy?
- Register a pre defined tree of taxonomies
- How to make custom post taxonomy looks like regular categories?
- Hierarchical Taxonomy Terms Select Menu Output with selected=”selected” Set
- Custom Taxonomies not retaining hierarchy while importing from one site to another
- Rewrite rules for varying nested terms of custom taxonomy
- List Posts For Terms Of A Custom Taxonomy For Any Post Type
- Using custom taxonomies to display hierarchical URLs?
- how to store values in database at hierarchical view
- tax_query: Don’t show posts with parent term when they have a corresponding child term applied
- Display a specific hierarchical level of a specific custom taxonomy
- SEO Title Tag and Meta Description for custom taxonomy
- Need help understanding a rewrite with multi-level taxonomy
- Taxonomy term breadcrumb; how?
- Determine if Term has Grandparent/Great-Grandparent
- Getting grandchildren of a post with a specified custom taxonomy?
- List child terms and posts in the current term
- More than one Hierarchical Taxonomy and SEO
- How to modify a taxonomy that’s already registered
- Remove taxonomy base or term from url
- Why is my working Custom Taxonomy not in get_taxonomies array?
- Custom taxonomy listing page when no term set (all terms)
- Custom order of terms for custom taxonomy in admin and website
- RSS Feed for posts containing any term from a taxonomy
- Exclude Child Term Posts from Parent Term Archive
- Create taxonomy with meta term using the WP Rest Api
- Use custom posts as taxonomy term meta replacement?
- Remove description in custom taxonomy edit screen
- Taxonomies not appearing in columns on dashboard
- Make Custom Taxonomy Category Use Parent Template
- Custom taxonomy template not working
- How to call custom taxonomy categories with shortcodes
- How to get terms of a custom post type in a loop inside footer.php
- List only first-level children of specific custom taxonomy term
- get / list categories and counts filtered by custom taxonomy term
- How do I make a custom taxomony appear like tags?
- Refine user taxonomy query based on role
- Get ID and slug from taxonomy object
- List the number of posts for each custom taxonomy and specific custom field value
- Recreating the hierarchy of taxonomies for a dropdown form menu?
- showing custom taxonomies w/custom post type
- Exclude Taxonomy Terms from Template Via Back End?
- How to overwrite registered taxonomy url from vendor plugin in child theme
- Dynamic loading of Archive content based on custom taxonomy term name
- Checking return with WP Error
- Why is the custom taxonomy archive page redirecting me to a single post? [closed]
- Rewrite URL for taxonomy listing
- Failure to add term meta
- Filter custom taxonomy archive posts by 2nd custom taxonomy using select dropdown
- How to show all post related taxonomies
- get_term_children returns unknown int though term has no child
- Limit number of posts in wp loop
- Custom taxonomy pagination
- Get the taxonomy of the post
- using wp_tag_cloud with custom taxonomy
- Custom taxonomy not showing terms in post area
- Get object for a few selected taxonomies
- Add a term to list in block editor taxonomy sidebar
- Also show terms that are related to draft and pending posts
- Breaking Bootstrap Grid at Post Count with Tax Terms
- W3 total cache – white screen of death when trying to show certain taxonomies [closed]
- Custom taxonomy page not working
- Displaying the post count of all custom taxonomy terms in a list format
- Get child product categories from parent product category for CUSTOM TAXONOMY archive page
- How to get related taxonomies based on a category with mysql query?
- Reorder a page of posts of a certain taxonomy/value by a custom field
- Get children of taxonomies
- Unregistered taxonomy apears still as emtpy filter list
- How to paginate with an query var appended to permalink?
- Use custom taxonomy terms as parent for pages
- Custom Post Type categories at edit post not hierarchical
- add_rewrite_rule using custom taxonomy and year
- switch statement for taxonomy content
- Index page of posts tagged with two separate taxonomies
- Most efficient use of custom taxonomies, categories, and pages
- create taxonomy
- Taxonomy Extra Meta [duplicate]
- Custom Taxonomy – Archive for the whole Custom Taxonomy (and not just single term)?
- get_terms() – unexpected ‘=>’ (T_DOUBLE_ARROW) error
- Guest author – URL, base and custom taxonomy – working but unstable
- Taxonomy Child Not Updating Unless I Click Update Twice