I need to get my root categories, so I use:
$mainCats = get_terms('category', array('parent'=>0,'hide_empty'=>false));
But I really want to throw out ‘Uncategorized’ from result. In documentation is option ‘name__like’ without info how to do name NOT like. Any tips?
- The topic ‘get_terms and name NOT like’ is closed to new replies.