I’m creating for my blog an Accordion Menu to the categories. I’m making changes on the wp-includes/class.php file.
At a certain point now, I need to disocver is the current category has any children assigned to it. So I figured that the $category data object would have something I could you for this purpose, but I just don’t seem to find the Doc for this anywhere…
The same way that “$category->name” gives me the name of the category, is there any list to describe all the information stored under this object?
- The topic ‘$category data object’ is closed to new replies.