Changes between Initial Version and Version 1 of Ticket #16910
- Timestamp:
- 03/21/2011 01:05:54 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16910
- Property Keywords 2nd-opinion removed
-
Ticket #16910 – Description
initial v1 50 50 }}} 51 51 52 $country_ids would now be a WP_Lazy_Query object, which would just contain the subquery SQL. It would be appended to the second query, when needed. 52 $country_ids would now be a WP_Lazy_Query object, which would just contain the subquery SQL. It would be appended to the second query, when needed: 53 54 2) Get all the cities belonging to that country: 55 56 {{{ 57 $cities = get_posts( array( 58 'post_type' => 'city', 59 'post_parent__in' => $country_ids 60 ) ); 61 }}}