[Resolved] Custom Taxonomies not showing in get_taxonomies
I’ve created several taxonomies and when trying to actually access them in development, they don’t seem to exist. For example, I created a custom taxonomy called interests. When I use $taxs = get_taxonomies(); var_dump($taxs); none of the custom taxonomies show up. When I try $terms = get_terms(‘interests’); var_dump($terms); I receive an error that says invalid taxonomy.
It appears they are not actually being created, but in wordpress I see them in the manage taxonomies menu and I’ve created many tags in each of the custom taxonomies, and they are present in the pages/posts that they are assigned to. I am so lost as to why this is occurring. I would greatly appreciate any help!
- The topic ‘[Resolved] Custom Taxonomies not showing in get_taxonomies’ is closed to new replies.