get_queried_object


get_queried_object ( No parameters )

Returns:
  • (object) Queried object.
Defined at:

Description

Retrieve the currently-queried object.Wrapper for WP_Query::get_queried_object().

Related Functions

get_queried_object_id, rest_is_object, get_linkobjects, get_user_meta, get_post_type_object

Top Google Results

User discussions

wpseek mobile