[wp-trac] [WordPress Trac] #29839: Enhance get_terms to return only bottom child terms (terms without children) when taxonomy is heirarchical
WordPress Trac
noreply at wordpress.org
Thu Oct 2 21:54:31 UTC 2014
#29839: Enhance get_terms to return only bottom child terms (terms without
children) when taxonomy is heirarchical
-------------------------+------------------------------
Reporter: theMikeD | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Changes (by SergeyBiryukov):
* type: feature request => enhancement
Old description:
> In
> {{{
> get_terms
> }}}
> currently there is an option called 'parent' that will return only top-
> level terms (meaning terms with no parent term). This request is for an
> option that does the opposite: get only bottom-level terms (meaning terms
> with no children).
New description:
In `get_terms()` currently there is an option called 'parent' that will
return only top-level terms (meaning terms with no parent term). This
request is for an option that does the opposite: get only bottom-level
terms (meaning terms with no children).
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29839#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list