Guest User

var_dump query_ads without category

a guest
Mar 4th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 9.82 KB | None | 0 0
  1. object(WP_Query)#1920 (47) {
  2.  ["query_vars"]=>
  3.   array(66) {
  4.     ["post_status"]=>
  5.     string(7) "publish"
  6.     ["post_type"]=>
  7.     array(2) {
  8.       [0]=>
  9.       string(10) "publicidad"
  10.       [1]=>
  11.       string(3) "any"
  12.     }
  13.     ["tax_query"]=>
  14.     array(1) {
  15.       [0]=>
  16.       array(3) {
  17.         ["taxonomy"]=>
  18.         string(11) "ubicaciones"
  19.         ["field"]=>
  20.         string(4) "slug"
  21.         ["terms"]=>
  22.         string(12) "ub-categoria"
  23.       }
  24.     }
  25.     ["orderby"]=>
  26.     string(4) "rand"
  27.     ["error"]=>
  28.     string(0) ""
  29.     ["m"]=>
  30.     string(0) ""
  31.     ["p"]=>
  32.     int(0)
  33.     ["post_parent"]=>
  34.     string(0) ""
  35.     ["subpost"]=>
  36.     string(0) ""
  37.     ["subpost_id"]=>
  38.     string(0) ""
  39.     ["attachment"]=>
  40.     string(0) ""
  41.     ["attachment_id"]=>
  42.     int(0)
  43.     ["name"]=>
  44.     string(0) ""
  45.     ["static"]=>
  46.     string(0) ""
  47.     ["pagename"]=>
  48.     string(0) ""
  49.     ["page_id"]=>
  50.     int(0)
  51.     ["second"]=>
  52.     string(0) ""
  53.     ["minute"]=>
  54.     string(0) ""
  55.     ["hour"]=>
  56.     string(0) ""
  57.     ["day"]=>
  58.     int(0)
  59.     ["monthnum"]=>
  60.     int(0)
  61.     ["year"]=>
  62.     int(0)
  63.     ["w"]=>
  64.     int(0)
  65.     ["category_name"]=>
  66.     string(0) ""
  67.     ["tag"]=>
  68.     string(0) ""
  69.     ["cat"]=>
  70.     string(0) ""
  71.     ["tag_id"]=>
  72.     string(0) ""
  73.     ["author"]=>
  74.     string(0) ""
  75.     ["author_name"]=>
  76.     string(0) ""
  77.     ["feed"]=>
  78.     string(0) ""
  79.     ["tb"]=>
  80.     string(0) ""
  81.     ["paged"]=>
  82.     int(0)
  83.     ["comments_popup"]=>
  84.     string(0) ""
  85.     ["meta_key"]=>
  86.     string(0) ""
  87.     ["meta_value"]=>
  88.     string(0) ""
  89.     ["preview"]=>
  90.     string(0) ""
  91.     ["s"]=>
  92.     string(0) ""
  93.     ["sentence"]=>
  94.     string(0) ""
  95.     ["fields"]=>
  96.     string(0) ""
  97.     ["menu_order"]=>
  98.     string(0) ""
  99.     ["category__in"]=>
  100.     array(0) {
  101.     }
  102.     ["category__not_in"]=>
  103.     array(0) {
  104.     }
  105.     ["category__and"]=>
  106.     array(0) {
  107.     }
  108.     ["post__in"]=>
  109.     array(0) {
  110.     }
  111.     ["post__not_in"]=>
  112.     array(0) {
  113.     }
  114.     ["tag__in"]=>
  115.     array(0) {
  116.     }
  117.     ["tag__not_in"]=>
  118.     array(0) {
  119.     }
  120.     ["tag__and"]=>
  121.     array(0) {
  122.     }
  123.     ["tag_slug__in"]=>
  124.     array(0) {
  125.     }
  126.     ["tag_slug__and"]=>
  127.     array(0) {
  128.     }
  129.     ["post_parent__in"]=>
  130.     array(0) {
  131.     }
  132.     ["post_parent__not_in"]=>
  133.     array(0) {
  134.     }
  135.     ["author__in"]=>
  136.     array(0) {
  137.     }
  138.     ["author__not_in"]=>
  139.     array(0) {
  140.     }
  141.     ["ignore_sticky_posts"]=>
  142.     bool(false)
  143.     ["suppress_filters"]=>
  144.     bool(false)
  145.     ["cache_results"]=>
  146.     bool(true)
  147.     ["update_post_term_cache"]=>
  148.     bool(true)
  149.     ["update_post_meta_cache"]=>
  150.     bool(true)
  151.     ["posts_per_page"]=>
  152.     int(10)
  153.     ["nopaging"]=>
  154.     bool(false)
  155.     ["comments_per_page"]=>
  156.     string(2) "50"
  157.     ["no_found_rows"]=>
  158.     bool(false)
  159.     ["taxonomy"]=>
  160.     string(11) "ubicaciones"
  161.     ["term"]=>
  162.     string(12) "ub-categoria"
  163.     ["order"]=>
  164.     string(4) "DESC"
  165.   }
  166.   ["tax_query"]=>
  167.   object(WP_Tax_Query)#1923 (2) {
  168.    ["queries"]=>
  169.     array(1) {
  170.       [0]=>
  171.       array(5) {
  172.         ["taxonomy"]=>
  173.         string(11) "ubicaciones"
  174.         ["terms"]=>
  175.         array(1) {
  176.           [0]=>
  177.           string(12) "ub-categoria"
  178.         }
  179.         ["include_children"]=>
  180.         bool(true)
  181.         ["field"]=>
  182.         string(4) "slug"
  183.         ["operator"]=>
  184.         string(2) "IN"
  185.       }
  186.     }
  187.     ["relation"]=>
  188.     string(3) "AND"
  189.   }
  190.   ["meta_query"]=>
  191.   object(WP_Meta_Query)#1922 (2) {
  192.    ["queries"]=>
  193.     array(0) {
  194.     }
  195.     ["relation"]=>
  196.     NULL
  197.   }
  198.   ["date_query"]=>
  199.   bool(false)
  200.   ["post_count"]=>
  201.   int(2)
  202.   ["current_post"]=>
  203.   int(-1)
  204.   ["in_the_loop"]=>
  205.   bool(false)
  206.   ["comment_count"]=>
  207.   int(0)
  208.   ["current_comment"]=>
  209.   int(-1)
  210.   ["found_posts"]=>
  211.   string(1) "2"
  212.   ["max_num_pages"]=>
  213.   float(1)
  214.   ["max_num_comment_pages"]=>
  215.   int(0)
  216.   ["is_single"]=>
  217.   bool(false)
  218.   ["is_preview"]=>
  219.   bool(false)
  220.   ["is_page"]=>
  221.   bool(false)
  222.   ["is_archive"]=>
  223.   bool(true)
  224.   ["is_date"]=>
  225.   bool(false)
  226.   ["is_year"]=>
  227.   bool(false)
  228.   ["is_month"]=>
  229.   bool(false)
  230.   ["is_day"]=>
  231.   bool(false)
  232.   ["is_time"]=>
  233.   bool(false)
  234.   ["is_author"]=>
  235.   bool(false)
  236.   ["is_category"]=>
  237.   bool(false)
  238.   ["is_tag"]=>
  239.   bool(false)
  240.   ["is_tax"]=>
  241.   bool(true)
  242.   ["is_search"]=>
  243.   bool(false)
  244.   ["is_feed"]=>
  245.   bool(false)
  246.   ["is_comment_feed"]=>
  247.   bool(false)
  248.   ["is_trackback"]=>
  249.   bool(false)
  250.   ["is_home"]=>
  251.   bool(false)
  252.   ["is_404"]=>
  253.   bool(false)
  254.   ["is_comments_popup"]=>
  255.   bool(false)
  256.   ["is_paged"]=>
  257.   bool(false)
  258.   ["is_admin"]=>
  259.   bool(false)
  260.   ["is_attachment"]=>
  261.   bool(false)
  262.   ["is_singular"]=>
  263.   bool(false)
  264.   ["is_robots"]=>
  265.   bool(false)
  266.   ["is_posts_page"]=>
  267.   bool(false)
  268.   ["is_post_type_archive"]=>
  269.   bool(false)
  270.   ["query_vars_hash"]=>
  271.   string(32) "d7d750f891b935d95f404398e4aadec7"
  272.   ["query_vars_changed"]=>
  273.   bool(false)
  274.   ["thumbnails_cached"]=>
  275.   bool(false)
  276.   ["stopwords":"WP_Query":private]=>
  277.   NULL
  278.   ["query"]=>
  279.   array(4) {
  280.     ["post_status"]=>
  281.     string(7) "publish"
  282.     ["post_type"]=>
  283.     array(2) {
  284.       [0]=>
  285.       string(10) "publicidad"
  286.       [1]=>
  287.       string(3) "any"
  288.     }
  289.     ["tax_query"]=>
  290.     array(1) {
  291.       [0]=>
  292.       array(3) {
  293.         ["taxonomy"]=>
  294.         string(11) "ubicaciones"
  295.         ["field"]=>
  296.         string(4) "slug"
  297.         ["terms"]=>
  298.         string(12) "ub-categoria"
  299.       }
  300.     }
  301.     ["orderby"]=>
  302.     string(4) "rand"
  303.   }
  304.   ["request"]=>
  305.   string(345) "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) WHERE 1=1  AND ( wp_term_relationships.term_taxonomy_id IN (74) ) AND wp_posts.post_type IN ('publicidad', 'any') AND (wp_posts.post_status = 'publish') GROUP BY wp_posts.ID ORDER BY RAND() DESC LIMIT 0, 10"
  306.   ["posts"]=>
  307.   array(2) {
  308.     [0]=>
  309.     object(WP_Post)#1921 (24) {
  310.      ["ID"]=>
  311.       int(159)
  312.       ["post_author"]=>
  313.       string(1) "1"
  314.       ["post_date"]=>
  315.       string(19) "2014-03-01 23:50:15"
  316.       ["post_date_gmt"]=>
  317.       string(19) "2014-03-01 23:50:15"
  318.       ["post_content"]=>
  319.       string(0) ""
  320.       ["post_title"]=>
  321.       string(87) "http://www.itba.edu.ar/sites/default/files/landings/maestria-energia-ambiente/index.php"
  322.       ["post_excerpt"]=>
  323.       string(0) ""
  324.       ["post_status"]=>
  325.       string(7) "publish"
  326.       ["comment_status"]=>
  327.       string(6) "closed"
  328.       ["ping_status"]=>
  329.       string(6) "closed"
  330.       ["post_password"]=>
  331.       string(0) ""
  332.       ["post_name"]=>
  333.       string(78) "httpwww-itba-edu-arsitesdefaultfileslandingsmaestria-energia-ambienteindex-php"
  334.       ["to_ping"]=>
  335.       string(0) ""
  336.       ["pinged"]=>
  337.       string(0) ""
  338.       ["post_modified"]=>
  339.       string(19) "2014-03-03 23:41:36"
  340.       ["post_modified_gmt"]=>
  341.       string(19) "2014-03-03 23:41:36"
  342.       ["post_content_filtered"]=>
  343.       string(0) ""
  344.       ["post_parent"]=>
  345.       int(0)
  346.       ["guid"]=>
  347.       string(62) "http://localhost/wordpress3.8/?post_type=publicidad&p=159"
  348.       ["menu_order"]=>
  349.       int(0)
  350.       ["post_type"]=>
  351.       string(10) "publicidad"
  352.       ["post_mime_type"]=>
  353.       string(0) ""
  354.       ["comment_count"]=>
  355.       string(1) "0"
  356.       ["filter"]=>
  357.       string(3) "raw"
  358.     }
  359.     [1]=>
  360.     object(WP_Post)#2152 (24) {
  361.      ["ID"]=>
  362.       int(73)
  363.       ["post_author"]=>
  364.       string(1) "1"
  365.       ["post_date"]=>
  366.       string(19) "2014-01-05 00:03:57"
  367.       ["post_date_gmt"]=>
  368.       string(19) "2014-01-05 00:03:57"
  369.       ["post_content"]=>
  370.       string(0) ""
  371.       ["post_title"]=>
  372.       string(1) "#"
  373.       ["post_excerpt"]=>
  374.       string(0) ""
  375.       ["post_status"]=>
  376.       string(7) "publish"
  377.       ["comment_status"]=>
  378.       string(6) "closed"
  379.       ["ping_status"]=>
  380.       string(6) "closed"
  381.       ["post_password"]=>
  382.       string(0) ""
  383.       ["post_name"]=>
  384.       string(12) "publicidad-1"
  385.       ["to_ping"]=>
  386.       string(0) ""
  387.       ["pinged"]=>
  388.       string(0) ""
  389.       ["post_modified"]=>
  390.       string(19) "2014-03-04 16:51:02"
  391.       ["post_modified_gmt"]=>
  392.       string(19) "2014-03-04 16:51:02"
  393.       ["post_content_filtered"]=>
  394.       string(0) ""
  395.       ["post_parent"]=>
  396.       int(0)
  397.       ["guid"]=>
  398.       string(35) "http://localhost/wordpress3.6/?p=73"
  399.       ["menu_order"]=>
  400.       int(0)
  401.       ["post_type"]=>
  402.       string(10) "publicidad"
  403.       ["post_mime_type"]=>
  404.       string(0) ""
  405.       ["comment_count"]=>
  406.       string(1) "0"
  407.       ["filter"]=>
  408.       string(3) "raw"
  409.     }
  410.   }
  411.   ["post"]=>
  412.   object(WP_Post)#1921 (24) {
  413.    ["ID"]=>
  414.     int(159)
  415.     ["post_author"]=>
  416.     string(1) "1"
  417.     ["post_date"]=>
  418.     string(19) "2014-03-01 23:50:15"
  419.     ["post_date_gmt"]=>
  420.     string(19) "2014-03-01 23:50:15"
  421.     ["post_content"]=>
  422.     string(0) ""
  423.     ["post_title"]=>
  424.     string(87) "http://www.itba.edu.ar/sites/default/files/landings/maestria-energia-ambiente/index.php"
  425.     ["post_excerpt"]=>
  426.     string(0) ""
  427.     ["post_status"]=>
  428.     string(7) "publish"
  429.     ["comment_status"]=>
  430.     string(6) "closed"
  431.     ["ping_status"]=>
  432.     string(6) "closed"
  433.     ["post_password"]=>
  434.     string(0) ""
  435.     ["post_name"]=>
  436.     string(78) "httpwww-itba-edu-arsitesdefaultfileslandingsmaestria-energia-ambienteindex-php"
  437.     ["to_ping"]=>
  438.     string(0) ""
  439.     ["pinged"]=>
  440.     string(0) ""
  441.     ["post_modified"]=>
  442.     string(19) "2014-03-03 23:41:36"
  443.     ["post_modified_gmt"]=>
  444.     string(19) "2014-03-03 23:41:36"
  445.     ["post_content_filtered"]=>
  446.     string(0) ""
  447.     ["post_parent"]=>
  448.     int(0)
  449.     ["guid"]=>
  450.     string(62) "http://localhost/wordpress3.8/?post_type=publicidad&p=159"
  451.     ["menu_order"]=>
  452.     int(0)
  453.     ["post_type"]=>
  454.     string(10) "publicidad"
  455.     ["post_mime_type"]=>
  456.     string(0) ""
  457.     ["comment_count"]=>
  458.     string(1) "0"
  459.     ["filter"]=>
  460.     string(3) "raw"
  461.   }
  462. }
Add Comment
Please, Sign In to add comment