A list of all articles for the tag "category".
WordPress Categories, RegEx and the Parent/Child Relationship
I couldn’t seem to find a WordPress function that would return an array of all categories in their parent/child relationship order – so I went ahead and coded a way. If you know of a better way, please share. If not, enjoy the code.