Thanks to Laxmana‘s comment above I found the solution. The plugin User Access Manager has a setting in its options to hide empty categories. It is enabled by default. I disabled the option and now all categories are shown.
Thank you for your help, especially thanks to Laxmana!
Related Posts:
- Is There a Difference Between Taxonomies and Categories?
- Check if a post is in any child category of a parent category
- How to export and import taxonomies (category, tag and/or custom taxonomy) and their terms
- Control term order on a per-post basis
- How can I select a primary category?
- Does WordPress Offer a Way to Find All of the Categories that Don’t Have Children?
- Add custom taxonomy terms to WordPress menu dynamically & append #slug to url
- Display empty taxonomy terms with get_terms()
- List Terms in Category
- How can i insert term in a specific language of Polylang?
- Why does the argument list_only do on Walker_Category_Checklist::start_el?
- Display Posts Loop for each parent and for each Child
- Is There a Difference Between Taxonomies and Categories?
- Get posts under a category with SQL
- get_terms function not returning anything
- Display custom taxonomy attached to the post on post single page
- Display sibling categories on category page
- Combining these queries? (Same taxonomy term + same category as post)
- Get WooCommerce product category list in functions.php
- outputting taxonomy hierarchy
- Display List of Categories Within a Custom Taxonomy
- get_adjacent_post_link excluded_terms ignored
- Why is my post categories not displaying?
- Problem importing categories and sub-categories
- Taxonomy term RestApi data 10 rows limitions
- How to display non-hierarchical taxonomy as terms with checkboxes?
- Could not insert term into the database
- Combine two taxonomies in a hierarchical tree
- Weird behaviour when adding terms/term_taxonomies programmatically
- How can I get category ID by category name?
- get_terms name__like list categories according to letter
- Are Categories, Tags and Custom Taxonomies any different in regards to SEO?
- Excluding posts from a category but only if they’re not in multiple categories
- How to Override default update_count_callback for category
- Getting the sub category
- List all custom post type posts from a given category?
- How to get the number of child categories a specific parent category has?
- When to use ‘get_category_by_path’ vs. ‘get_term_by’ to get category object from `get_query_var( ‘category_name’ )`?
- Category page only displaying the posts from a custom type
- How can I convert some categories to a custom taxonomy?
- Any way to assign Post Categories and Tags to Links?
- Display name of the last child category
- Want to hide some categories from the categories meta box in the post editor for the two specific user roles
- How to export/import categories and keep their IDs?
- How to use wp_category_checklist()?
- Get all sub-categories of a parent category
- Can I use get_adjacent_post for specific categories?
- How to view WordPress’ default category IDs?
- Limit number of terms that a custom taxonomy can save per custom post type
- Change existing taxonomy settings when using custom taxonomy
- Display Taxonomy Terms in an option tag with value being the slug
- How to get the id from the custom category?
- category filter doesn’t work in WPML
- Filtering *out* a taxonomy from the admin post list
- category image taxonomy
- How to “group” (categorize) the Pages together?
- Custom taxonomy/category order
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- How can I improve this taxonomy treating approach?
- Getting category URL with hyphens, not spaces
- Targeting Parent Category Pages
- Include WooCommerce product to all child categories
- Notice: Trying to get property of non-object in : custom fields category
- Get Categories Where Taxonomy Equals ‘n’
- How to Link to Most Recent Custom Post of Same Term
- WP REST API not retrieving all categories
- Grandchild Term Things Grandfather Term is It’s Parent
- Eliminate word from $term->name
- What Must to Display the “mysite.com/category” URL?
- Getting Category Children
- Style a category from category list
- Same menu for different taxonomies to reach different content
- Showing HTML if Post is In Certain Taxonomy Term
- How could I write a get_categories_by_year() function?
- How to get posts using category slug in ClassiPress?
- get_the_category – display only a single category for a post (not all categories)
- display category with background color
- Add properties to term object
- Disable Category Taxonomy
- How can i add service category here? [duplicate]
- Sort categories by custom field in WordPress admin
- How to get immediate children of a ‘term’ parent id through ‘get_terms’?
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- Parent Category and Subcategory default text generated with category
- get taxonomy list in a page in the wordpress
- Number of categories slowing down the site
- Add subcategories posts to the counts column at the admin’s categories list
- How to echo Tags and Categories as plain text
- Get category of a taxonomy for a queries object in a loop
- How can I add HTML classes for current taxonomy/term hierarchy into my pages to simplify styles?
- How to add a post with new Taxonomy without assigning to default category?
- List Terms by category
- How to add a new child category via an SQL statement?
- Taxonomy for custom post type not found
- Use get variable when rewritten url in wordpress
- Assign a category by user and customize the edit-tags.php?taxonomy=category page
- Show parent-child relationship for categories in the wordpress admin
- Issue on Listing Sub Product Categories In Woocommerce
- Images as Categories