Guest User

var_dump query_ads

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