Skip to content

Instantly share code, notes, and snippets.

@prorev
Created May 13, 2016 12:54
Show Gist options
  • Save prorev/3258cee3c7062f98df628ce6a0fbaa27 to your computer and use it in GitHub Desktop.
Save prorev/3258cee3c7062f98df628ce6a0fbaa27 to your computer and use it in GitHub Desktop.
WP_Query Object
(
[query_vars] => Array
(
[page] =>
[pagename] => blog
[error] =>
[m] => 0
[p] => 0
[post_parent] =>
[post_type] =>
[subpost] =>
[subpost_id] =>
[attachment] =>
[attachment_id] => 0
[name] =>
[static] =>
[page_id] => 0
[second] =>
[minute] =>
[hour] =>
[day] => 0
[monthnum] => 0
[year] => 0
[w] => 0
[category_name] =>
[tag] =>
[cat] =>
[tag_id] =>
[author_name] =>
[feed] =>
[tb] =>
[paged] => 0
[comments_popup] =>
[meta_key] =>
[meta_value] =>
[preview] =>
[s] =>
[sentence] =>
[fields] =>
[category__in] => Array
(
)
[category__not_in] => Array
(
)
[category__and] => Array
(
)
[post__in] => Array
(
)
[post__not_in] => Array
(
)
[tag__in] => Array
(
)
[tag__not_in] => Array
(
)
[tag__and] => Array
(
)
[tag_slug__in] => Array
(
)
[tag_slug__and] => Array
(
)
)
[tax_query] =>
[meta_query] =>
[post_count] => 0
[current_post] => -1
[in_the_loop] =>
[comment_count] => 0
[current_comment] => -1
[found_posts] => 0
[max_num_pages] => 0
[max_num_comment_pages] => 0
[is_single] =>
[is_preview] =>
[is_page] =>
[is_archive] =>
[is_date] =>
[is_year] =>
[is_month] =>
[is_day] =>
[is_time] =>
[is_author] =>
[is_category] =>
[is_tag] =>
[is_tax] =>
[is_search] =>
[is_feed] =>
[is_comment_feed] =>
[is_trackback] =>
[is_home] => 1
[is_404] =>
[is_comments_popup] =>
[is_paged] =>
[is_admin] =>
[is_attachment] =>
[is_singular] =>
[is_robots] =>
[is_posts_page] => 1
[is_post_type_archive] =>
[query_vars_hash] => 41032f87127fba65fb6743b1e97d8662
[query_vars_changed] =>
[thumbnails_cached] =>
[query] => Array
(
[page] =>
[pagename] => blog
)
[queried_object] => stdClass Object
(
[ID] => 16
[post_author] => 1
[post_date] => 2012-01-31 17:23:57
[post_date_gmt] => 2012-01-31 17:23:57
[post_content] =>
[post_title] => Blog
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => blog
[to_ping] =>
[pinged] =>
[post_modified] => 2012-01-31 17:23:57
[post_modified_gmt] => 2012-01-31 17:23:57
[post_content_filtered] =>
[post_parent] => 0
[guid] =>
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment