Written by 11:58 am навън, Папараци

Rihanna cought

Methods and Properties

This is the formal documentation of WP_Query. You shouldn’t alter the properties directly, but instead use the methods to interact with them. Also see Interacting with WP_Query for some useful functions that avoid the need to mess around with class internals and global variables.


Holds the query string that was passed to the $wp_query object by WP class.
An associative array containing the dissected $query: an array of the query variables and their respective values.
Applicable if the request is a category, author, permalink or Page. Holds information on the requested category, author, post or Page.
If the request is a category, author, permalink or post / page, holds the corresponding ID.
(Visited 1 times, 1 visits today)
Last modified: май 22, 2020