Maybe this can help
delete_option('taxonomy-slug_children');
just replace the ‘taxonomy-slug’ with ‘cat’ or other taxonomy you are using.
This line is supposed to used in the same action hook function, right after you create the term.
Related Posts:
- Filtering *out* a taxonomy from the admin post list
- Admin: Navigation Menus do not show empty categories/taxonomies in the list’s search tab
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- Show parent-child relationship for categories in the wordpress admin
- How to display non-hierarchical taxonomy as terms with checkboxes?
- get_categories for custom post type with a specific custom taxonomy attached
- Could not insert term into the database
- Combine two taxonomies in a hierarchical tree
- How can I select a primary category?
- Is it possible to disable certain user roles from creating tags?
- How to get next previous category in same taxonomy?
- Display only deepest category on a single post?
- How to show empty category in admin menus search
- What’s the difference between “parent” and “category_parent” in a WP_Term object?
- Update taxonomy value of post type in query
- How to query posts from specific authors and categories using WP_query?
- How can I convert some categories to a custom taxonomy?
- Any way to assign Post Categories and Tags to Links?
- Add a wordpress blog to my website having users
- Add custom taxonomy under the category title
- Display name of the last child category
- How to export/import categories and keep their IDs?
- How to use wp_category_checklist()?
- Collapse subcategories in post edit screen
- List Terms in Category
- How to get category URL with the slug?
- Get all sub-categories of a parent category
- How to view WordPress’ default category IDs?
- Random taxonomy category list
- Display Slug instead of Name
- Change existing taxonomy settings when using custom taxonomy
- Show Available Taxonomy List with Current Category
- category filter doesn’t work in WPML
- Exclude a category from the_category in the single post page
- Why does the argument list_only do on Walker_Category_Checklist::start_el?
- Filtering multiple categories via the URL
- Display specific categories by ID
- category image taxonomy
- Drop posts from categories in MySql
- Categories in admin interface: can they be collapsible?
- Customize category page for different custom taxonomies
- How can I improve this taxonomy treating approach?
- Get posts under a category with SQL
- Custom taxonomy template for categories
- Display custom taxonomy attached to the post on post single page
- How to display parents category and child category separately for a specific post?
- how i can hide some category from author admin panel?
- Display sibling categories on category page
- How to modify the output of wp_terms_checklist when used within the built-in category metabox on edit posts?
- How to display a value inside a post with a specified category from a category custom field? [closed]
- Echo text using is_tag
- Grandchild Term Things Grandfather Term is It’s Parent
- WP 4.7 in_category change?
- Get posts of a custom post type from category from taxonomy?
- Illegal string offset ‘taxonomy’ in
- Same menu for different taxonomies to reach different content
- Change categories count to include media attachments
- How to get selected taxonomy or category ID if using custom walker?
- Let user select their own category
- How could I write a get_categories_by_year() function?
- Get posts in a subcategory of a chosen parent
- Natural sort / ordering wp_dropdown_categories
- Best way to categorize/populate a magazine style layout
- sidebar troubles, taxonomy trouble
- Displaying posts of given category
- Category post count is not correct
- WordPress Default Category and Custom Taxonomy Selected Attribute not Working After Searched in wp_dropdown_categories Array
- Automatically adding tags and categories into Post Excerpt for searching
- How can i add service category here? [duplicate]
- Show subChild categories
- How can i change sort category view starting from child then parent, not alphabetically
- WordPress 5.4 and higher: Filter posts by category 1 AND category 2 in API requests
- How to set the same base url for two different taxonomies?
- Limit categories to hierarchal depth of 2
- Show the parent taxonomy by creating shortcode in woocommerce?
- WordPress Portofolio Conditional Templating – functions php
- Parent Category and Subcategory default text generated with category
- Get WooCommerce product category list in functions.php
- Post List by category and under custom taxonomy
- Bulk assign posts to a category using SQL (MySQL)
- Confused about category.php template – not working
- Filter custom taxonomy posts via AJAX
- Create duplicate category page with content variations
- Renaming default category taxonomy?
- How to Manage and link certain custom taxonomy?
- wp_category_checklist won’t show up for non-admin users
- Display Taxonomies in loop with template args
- How to add a post with new Taxonomy without assigning to default category?
- Match two taxonomies to display a specific content
- Display only the latest post
- How to load jquery tag-it plugin into admin?
- Problem importing categories and sub-categories
- list taxonomy based on taxonomy
- get IDs from links categories
- Multiple Parent Category URLs
- Chained drop-down menu for custom taxonomy using chained.js
- Display only one level subcategory in wordpress
- Converting Categories (with ACF fields) to custom taxonomies
- Taxonomy term RestApi data 10 rows limitions
- Order Categories by Character Count