Guest User

pre_get_post output

a guest
Nov 5th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.48 KB | None | 0 0
  1. object(WP_Query)#165 (46) {
  2.  ["query"]=>
  3.   array(2) {
  4.     ["m"]=>
  5.     string(6) "201608"
  6.     ["post_type"]=>
  7.     string(6) "events"
  8.   }
  9.   ["query_vars"]=>
  10.   array(52) {
  11.     ["m"]=>
  12.     string(6) "201608"
  13.     ["post_type"]=>
  14.     string(6) "events"
  15.     ["error"]=>
  16.     string(0) ""
  17.     ["p"]=>
  18.     int(0)
  19.     ["post_parent"]=>
  20.     string(0) ""
  21.     ["subpost"]=>
  22.     string(0) ""
  23.     ["subpost_id"]=>
  24.     string(0) ""
  25.     ["attachment"]=>
  26.     string(0) ""
  27.     ["attachment_id"]=>
  28.     int(0)
  29.     ["name"]=>
  30.     string(0) ""
  31.     ["static"]=>
  32.     string(0) ""
  33.     ["pagename"]=>
  34.     string(0) ""
  35.     ["page_id"]=>
  36.     int(0)
  37.     ["second"]=>
  38.     string(0) ""
  39.     ["minute"]=>
  40.     string(0) ""
  41.     ["hour"]=>
  42.     string(0) ""
  43.     ["w"]=>
  44.     int(0)
  45.     ["category_name"]=>
  46.     string(0) ""
  47.     ["tag"]=>
  48.     string(0) ""
  49.     ["cat"]=>
  50.     string(0) ""
  51.     ["tag_id"]=>
  52.     string(0) ""
  53.     ["author"]=>
  54.     string(0) ""
  55.     ["author_name"]=>
  56.     string(0) ""
  57.     ["feed"]=>
  58.     string(0) ""
  59.     ["tb"]=>
  60.     string(0) ""
  61.     ["paged"]=>
  62.     int(0)
  63.     ["comments_popup"]=>
  64.     string(0) ""
  65.     ["meta_key"]=>
  66.     string(10) "event_date"
  67.     ["meta_value"]=>
  68.     string(0) ""
  69.     ["preview"]=>
  70.     string(0) ""
  71.     ["s"]=>
  72.     string(0) ""
  73.     ["sentence"]=>
  74.     string(0) ""
  75.     ["fields"]=>
  76.     string(0) ""
  77.     ["menu_order"]=>
  78.     string(0) ""
  79.     ["category__in"]=>
  80.     array(0) {
  81.     }
  82.     ["category__not_in"]=>
  83.     array(0) {
  84.     }
  85.     ["category__and"]=>
  86.     array(0) {
  87.     }
  88.     ["post__in"]=>
  89.     array(0) {
  90.     }
  91.     ["post__not_in"]=>
  92.     array(0) {
  93.     }
  94.     ["tag__in"]=>
  95.     array(0) {
  96.     }
  97.     ["tag__not_in"]=>
  98.     array(0) {
  99.     }
  100.     ["tag__and"]=>
  101.     array(0) {
  102.     }
  103.     ["tag_slug__in"]=>
  104.     array(0) {
  105.     }
  106.     ["tag_slug__and"]=>
  107.     array(0) {
  108.     }
  109.     ["post_parent__in"]=>
  110.     array(0) {
  111.     }
  112.     ["post_parent__not_in"]=>
  113.     array(0) {
  114.     }
  115.     ["author__in"]=>
  116.     array(0) {
  117.     }
  118.     ["author__not_in"]=>
  119.     array(0) {
  120.     }
  121.     ["orderby"]=>
  122.     string(10) "meta_value"
  123.     ["order"]=>
  124.     string(3) "ASC"
  125.     ["post_per_page"]=>
  126.     int(10)
  127.     ["meta_query"]=>
  128.     array(1) {
  129.       [0]=>
  130.       array(3) {
  131.         ["key"]=>
  132.         string(10) "event_date"
  133.         ["value"]=>
  134.         string(10) "2016-08-01"
  135.         ["compare"]=>
  136.         string(2) ">="
  137.       }
  138.     }
  139.   }
  140.   ["tax_query"]=>
  141.   object(WP_Tax_Query)#110 (6) {
  142.    ["queries"]=>
  143.     array(0) {
  144.     }
  145.     ["relation"]=>
  146.     string(3) "AND"
  147.     ["table_aliases":protected]=>
  148.     array(0) {
  149.     }
  150.     ["queried_terms"]=>
  151.     array(0) {
  152.     }
  153.     ["primary_table"]=>
  154.     NULL
  155.     ["primary_id_column"]=>
  156.     NULL
  157.   }
  158.   ["meta_query"]=>
  159.   bool(false)
  160.   ["date_query"]=>
  161.   bool(false)
  162.   ["post_count"]=>
  163.   int(0)
  164.   ["current_post"]=>
  165.   int(-1)
  166.   ["in_the_loop"]=>
  167.   bool(false)
  168.   ["comment_count"]=>
  169.   int(0)
  170.   ["current_comment"]=>
  171.   int(-1)
  172.   ["found_posts"]=>
  173.   int(0)
  174.   ["max_num_pages"]=>
  175.   int(0)
  176.   ["max_num_comment_pages"]=>
  177.   int(0)
  178.   ["is_single"]=>
  179.   bool(false)
  180.   ["is_preview"]=>
  181.   bool(false)
  182.   ["is_page"]=>
  183.   bool(false)
  184.   ["is_archive"]=>
  185.   bool(true)
  186.   ["is_date"]=>
  187.   bool(true)
  188.   ["is_year"]=>
  189.   bool(false)
  190.   ["is_month"]=>
  191.   bool(true)
  192.   ["is_day"]=>
  193.   bool(false)
  194.   ["is_time"]=>
  195.   bool(false)
  196.   ["is_author"]=>
  197.   bool(false)
  198.   ["is_category"]=>
  199.   bool(false)
  200.   ["is_tag"]=>
  201.   bool(false)
  202.   ["is_tax"]=>
  203.   bool(false)
  204.   ["is_search"]=>
  205.   bool(false)
  206.   ["is_feed"]=>
  207.   bool(false)
  208.   ["is_comment_feed"]=>
  209.   bool(false)
  210.   ["is_trackback"]=>
  211.   bool(false)
  212.   ["is_home"]=>
  213.   bool(false)
  214.   ["is_404"]=>
  215.   bool(false)
  216.   ["is_comments_popup"]=>
  217.   bool(false)
  218.   ["is_paged"]=>
  219.   bool(false)
  220.   ["is_admin"]=>
  221.   bool(false)
  222.   ["is_attachment"]=>
  223.   bool(false)
  224.   ["is_singular"]=>
  225.   bool(false)
  226.   ["is_robots"]=>
  227.   bool(false)
  228.   ["is_posts_page"]=>
  229.   bool(false)
  230.   ["is_post_type_archive"]=>
  231.   bool(true)
  232.   ["query_vars_hash":"WP_Query":private]=>
  233.   string(32) "c24e634661e5ca6feafbdb4e850c6370"
  234.   ["query_vars_changed":"WP_Query":private]=>
  235.   bool(false)
  236.   ["thumbnails_cached"]=>
  237.   bool(false)
  238.   ["stopwords":"WP_Query":private]=>
  239.   NULL
  240.   ["compat_fields":"WP_Query":private]=>
  241.   array(2) {
  242.     [0]=>
  243.     string(15) "query_vars_hash"
  244.     [1]=>
  245.     string(18) "query_vars_changed"
  246.   }
  247.   ["compat_methods":"WP_Query":private]=>
  248.   array(2) {
  249.     [0]=>
  250.     string(16) "init_query_flags"
  251.     [1]=>
  252.     string(15) "parse_tax_query"
  253.   }
  254. }
Advertisement
Add Comment
Please, Sign In to add comment