Tag archives for parent categoy
How to fetch parent categories of a custom post
Here is the solution to fetch only the parent categories of a custom post type. As we know that sometimes it is required to register new post types with some custom taxonomy as well to fulfill our requirements. So, in…