I want to combine 2 arrays from WP\_Query.

To call the 1 data, the code is like this:

```php
$query = new WP_Query(array('post_type' => 'reply') );

        foreach ($query->posts as $p){

            echo 'ID :'.$p->ID."<br />\r\n";
        }

```

If using variable, just insert it into WP\_Query parameters. Like this:

```php
$args1 = array('post_type' => 'reply');
    $query = new WP_Query($args1);

        foreach ($query->posts as $p){

            echo 'ID :'.$p->ID."<br />\r\n";
        }

```

But my question is, I want to combine it with `'post_type' => 'topic'`

for example the output for args1

```php
'post_type' => 'reply':

ID :519
ID :517
ID :516
ID :515
ID :514
ID :500
ID :499
ID :485
ID :479
ID :478

```

and args2 for:

```php
'post_type' => 'topic':

ID :498
ID :484
ID :483
ID :474

```

I want to combine both of them. I tried to `array_merge()` and `array_combine()` but the output is not what I expected. Any ideas to solve it?

Thank you in advance.