get_categories acting weird
-
For some strange reason, the
get_categories
function will not work if I add aparent
orchild_of
parameter. I have verified that the parent id is captured in thewp_term_taxonomy
table. When I do a generic var dump on get_categories, the parent and category_party arrays are empty, i.e.['parent']=>int(0)
and['category_parent'=>int(0)
.Any clues on how I might be able to troubleshoot? Is this a WordPress bug? Or something else is messing up the environment?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_categories acting weird’ is closed to new replies.