skip to Main Content

Can WP_Query combine 2 data arrays?

I want to combine 2 arrays from WP_Query. To call the 1 data, the code is like this: $query = new WP_Query(array('post_type' => 'reply') ); foreach ($query->posts as $p){ echo 'ID :'.$p->ID."<br />rn"; } If using variable, just insert it…

VIEW QUESTION
Back To Top
Search