[wp-trac] [WordPress Trac] #43798: Add multiple parent ids in get_term function

WordPress Trac noreply at wordpress.org
Wed Apr 18 12:15:40 UTC 2018


#43798: Add multiple parent ids in get_term function
-------------------------+-----------------------------
 Reporter:  Chorstikus   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Please let uns use get_term parent arg as an array with multiple ids:

 {{{#!php
 <?php
 $args = [
     'parent' => [164, 1411]
 ];
 $child_regions = get_terms( 'region', $args );
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43798>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list