<?php
$tagString = "10,121,20,36,23,66,24,21,105,76,82,17,22,122,43,47,102,5,6,106,8,75,54,38,57,86,56,101,123,95,25,62,16,39,40,69,37,9,42,7,15,41,87,73,85,104";
$args = array(
'post_type' => 'post',
'posts_per_page' => 12,
'paged' => 'foo',
'tag__in' => array (46, 5, 101, 22, 122, 7, 102, 15, 104, 47, 105, 66, 43, 123),
'tag__not_in' => array ($tagString)
);
print_r($args);
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Array
(
[post_type] => post
[posts_per_page] => 12
[paged] => foo
[tag__in] => Array
(
[0] => 46
[1] => 5
[2] => 101
[3] => 22
[4] => 122
[5] => 7
[6] => 102
[7] => 15
[8] => 104
[9] => 47
[10] => 105
[11] => 66
[12] => 43
[13] => 123
)
[tag__not_in] => Array
(
[0] => 10,121,20,36,23,66,24,21,105,76,82,17,22,122,43,47,102,5,6,106,8,75,54,38,57,86,56,101,123,95,25,62,16,39,40,69,37,9,42,7,15,41,87,73,85,104
)
)
preferences:
198.97 ms | 407 KiB | 313 Q