get_queried_object_id


get_queried_object_id ( No parameters )

Returns:
  • (int) ID of the queried object.
Defined at:

Description

Retrieve ID of the current queried object.

Wrapper for WP_Query::get_queried_object_id().

Related Functions

get_queried_object, get_linkobjects, get_user_option, get_objects_in_term, get_user_setting

Top Google Results

User discussions

wpseek mobile