I created a custom taxonomy called Location then added New Jersey, New York, etc. Is there a WordPress function that will get the list of all ids under the Location similar to what get_all_category_ids() does?
2 comments
Comments are closed.
I created a custom taxonomy called Location then added New Jersey, New York, etc. Is there a WordPress function that will get the list of all ids under the Location similar to what get_all_category_ids() does?
Comments are closed.
You can get it like this
Otherwise you can also use like this
try this 😛