#17587 closed feature request (wontfix)
Support hierarchical slugs in get_term_by and get_terms
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Add a support for hierarchical slugs to get_term_by and get_terms or add get_term_by_slug function from the file attached.
Attachments (1)
Change History (3)
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
A more efficient way to do it would be to get all the terms at once, and then check their ancestry.
Version 0, edited 2 years ago
by scribu
(next)
Note: See
TracTickets for help on using
tickets.

That's a pretty inneficient way to do it and I don't really see the need for it either, since we already have get_term_by().