Advertisement

get_queried_object

Retrieve the currently-queried object.

get_query_var

Retrieve variable in the WP_Query class.

Advertisement