Advertisement
retesere20

anwp-sample-query

Mar 7th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. object(WP_Query)#534 (48) {
  2. ["query"]=>
  3. array(15) {
  4. ["numberposts"]=>
  5. int(9)
  6. ["category"]=>
  7. int(0)
  8. ["orderby"]=>
  9. string(4) "date"
  10. ["order"]=>
  11. string(4) "DESC"
  12. ["include"]=>
  13. array(0) {
  14. }
  15. ["exclude"]=>
  16. array(0) {
  17. }
  18. ["meta_key"]=>
  19. string(0) ""
  20. ["meta_value"]=>
  21. string(0) ""
  22. ["post_type"]=>
  23. string(4) "post"
  24. ["suppress_filters"]=>
  25. bool(false)
  26. ["ignore_sticky_posts"]=>
  27. bool(true)
  28. ["category__in"]=>
  29. array(2) {
  30. [0]=>
  31. int(18)
  32. [1]=>
  33. int(19)
  34. }
  35. ["post_status"]=>
  36. string(7) "publish"
  37. ["posts_per_page"]=>
  38. int(9)
  39. ["no_found_rows"]=>
  40. bool(true)
  41. }
  42. ["query_vars"]=>
  43. &array(63) {
  44. ["numberposts"]=>
  45. int(9)
  46. ["category"]=>
  47. int(0)
  48. ["orderby"]=>
  49. string(4) "date"
  50. ["order"]=>
  51. string(4) "DESC"
  52. ["include"]=>
  53. array(0) {
  54. }
  55. ["exclude"]=>
  56. array(0) {
  57. }
  58. ["meta_key"]=>
  59. string(0) ""
  60. ["meta_value"]=>
  61. string(0) ""
  62. ["post_type"]=>
  63. string(4) "post"
  64. ["suppress_filters"]=>
  65. bool(false)
  66. ["ignore_sticky_posts"]=>
  67. bool(true)
  68. ["category__in"]=>
  69. array(2) {
  70. [0]=>
  71. int(18)
  72. [1]=>
  73. int(19)
  74. }
  75. ["post_status"]=>
  76. string(7) "publish"
  77. ["posts_per_page"]=>
  78. int(9)
  79. ["no_found_rows"]=>
  80. bool(true)
  81. ["error"]=>
  82. string(0) ""
  83. ["m"]=>
  84. string(0) ""
  85. ["p"]=>
  86. int(0)
  87. ["post_parent"]=>
  88. string(0) ""
  89. ["subpost"]=>
  90. string(0) ""
  91. ["subpost_id"]=>
  92. string(0) ""
  93. ["attachment"]=>
  94. string(0) ""
  95. ["attachment_id"]=>
  96. int(0)
  97. ["name"]=>
  98. string(0) ""
  99. ["pagename"]=>
  100. string(0) ""
  101. ["page_id"]=>
  102. int(0)
  103. ["second"]=>
  104. string(0) ""
  105. ["minute"]=>
  106. string(0) ""
  107. ["hour"]=>
  108. string(0) ""
  109. ["day"]=>
  110. int(0)
  111. ["monthnum"]=>
  112. int(0)
  113. ["year"]=>
  114. int(0)
  115. ["w"]=>
  116. int(0)
  117. ["category_name"]=>
  118. string(0) ""
  119. ["tag"]=>
  120. string(0) ""
  121. ["cat"]=>
  122. string(0) ""
  123. ["tag_id"]=>
  124. string(0) ""
  125. ["author"]=>
  126. string(0) ""
  127. ["author_name"]=>
  128. string(0) ""
  129. ["feed"]=>
  130. string(0) ""
  131. ["tb"]=>
  132. string(0) ""
  133. ["paged"]=>
  134. int(0)
  135. ["preview"]=>
  136. string(0) ""
  137. ["s"]=>
  138. string(0) ""
  139. ["sentence"]=>
  140. string(0) ""
  141. ["title"]=>
  142. string(0) ""
  143. ["fields"]=>
  144. string(0) ""
  145. ["menu_order"]=>
  146. string(0) ""
  147. ["embed"]=>
  148. string(0) ""
  149. ["category__not_in"]=>
  150. array(0) {
  151. }
  152. ["category__and"]=>
  153. array(0) {
  154. }
  155. ["post__in"]=>
  156. array(0) {
  157. }
  158. ["post__not_in"]=>
  159. array(0) {
  160. }
  161. ["post_name__in"]=>
  162. array(0) {
  163. }
  164. ["tag__in"]=>
  165. array(0) {
  166. }
  167. ["tag__not_in"]=>
  168. array(0) {
  169. }
  170. ["tag__and"]=>
  171. array(0) {
  172. }
  173. ["tag_slug__in"]=>
  174. array(0) {
  175. }
  176. ["tag_slug__and"]=>
  177. array(0) {
  178. }
  179. ["post_parent__in"]=>
  180. array(0) {
  181. }
  182. ["post_parent__not_in"]=>
  183. array(0) {
  184. }
  185. ["author__in"]=>
  186. array(0) {
  187. }
  188. ["author__not_in"]=>
  189. array(0) {
  190. }
  191. }
  192. ["tax_query"]=>
  193. object(WP_Tax_Query)#5438 (6) {
  194. ["queries"]=>
  195. array(1) {
  196. [0]=>
  197. array(5) {
  198. ["taxonomy"]=>
  199. string(8) "category"
  200. ["terms"]=>
  201. array(2) {
  202. [0]=>
  203. int(18)
  204. [1]=>
  205. int(19)
  206. }
  207. ["field"]=>
  208. string(7) "term_id"
  209. ["operator"]=>
  210. string(2) "IN"
  211. ["include_children"]=>
  212. bool(false)
  213. }
  214. }
  215. ["relation"]=>
  216. string(3) "AND"
  217. ["table_aliases":protected]=>
  218. array(0) {
  219. }
  220. ["queried_terms"]=>
  221. array(1) {
  222. ["category"]=>
  223. array(2) {
  224. ["terms"]=>
  225. array(2) {
  226. [0]=>
  227. int(18)
  228. [1]=>
  229. int(19)
  230. }
  231. ["field"]=>
  232. string(7) "term_id"
  233. }
  234. }
  235. ["primary_table"]=>
  236. NULL
  237. ["primary_id_column"]=>
  238. NULL
  239. }
  240. ["meta_query"]=>
  241. bool(false)
  242. ["date_query"]=>
  243. bool(false)
  244. ["post_count"]=>
  245. int(0)
  246. ["current_post"]=>
  247. int(-1)
  248. ["in_the_loop"]=>
  249. bool(false)
  250. ["comment_count"]=>
  251. int(0)
  252. ["current_comment"]=>
  253. int(-1)
  254. ["found_posts"]=>
  255. int(0)
  256. ["max_num_pages"]=>
  257. int(0)
  258. ["max_num_comment_pages"]=>
  259. int(0)
  260. ["is_single"]=>
  261. bool(false)
  262. ["is_preview"]=>
  263. bool(false)
  264. ["is_page"]=>
  265. bool(false)
  266. ["is_archive"]=>
  267. bool(true)
  268. ["is_date"]=>
  269. bool(false)
  270. ["is_year"]=>
  271. bool(false)
  272. ["is_month"]=>
  273. bool(false)
  274. ["is_day"]=>
  275. bool(false)
  276. ["is_time"]=>
  277. bool(false)
  278. ["is_author"]=>
  279. bool(false)
  280. ["is_category"]=>
  281. bool(true)
  282. ["is_tag"]=>
  283. bool(false)
  284. ["is_tax"]=>
  285. bool(false)
  286. ["is_search"]=>
  287. bool(false)
  288. ["is_feed"]=>
  289. bool(false)
  290. ["is_comment_feed"]=>
  291. bool(false)
  292. ["is_trackback"]=>
  293. bool(false)
  294. ["is_home"]=>
  295. bool(false)
  296. ["is_privacy_policy"]=>
  297. bool(false)
  298. ["is_404"]=>
  299. bool(false)
  300. ["is_embed"]=>
  301. bool(false)
  302. ["is_paged"]=>
  303. bool(false)
  304. ["is_admin"]=>
  305. bool(false)
  306. ["is_attachment"]=>
  307. bool(false)
  308. ["is_singular"]=>
  309. bool(false)
  310. ["is_robots"]=>
  311. bool(false)
  312. ["is_favicon"]=>
  313. bool(false)
  314. ["is_posts_page"]=>
  315. bool(false)
  316. ["is_post_type_archive"]=>
  317. bool(false)
  318. ["query_vars_hash":"WP_Query":private]=>
  319. string(32) "97fcb8d5aa8b7c3975c9ef4985847cea"
  320. ["query_vars_changed":"WP_Query":private]=>
  321. bool(false)
  322. ["thumbnails_cached"]=>
  323. bool(false)
  324. ["stopwords":"WP_Query":private]=>
  325. NULL
  326. ["compat_fields":"WP_Query":private]=>
  327. array(2) {
  328. [0]=>
  329. string(15) "query_vars_hash"
  330. [1]=>
  331. string(18) "query_vars_changed"
  332. }
  333. ["compat_methods":"WP_Query":private]=>
  334. array(2) {
  335. [0]=>
  336. string(16) "init_query_flags"
  337. [1]=>
  338. string(15) "parse_tax_query"
  339. }
  340. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement