Retrieve ID of the current queried object.

25 related functions found for: get_queried_object_id

Top ↑

Related terms found for this post

wp-parser-related-wordsget, id, object, queri, queried, query-php, wp-includes
wp-parser-packageQuery, WordPress

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • get
  • id
  • object
  • queri
  • queried
  • Query
  • query-php
  • wp-includes
  • wp-includes/query.php
  • query

Top ↑

Description Description

Wrapper for WP_Query::get_queried_object_id().

Top ↑

Return Return

(int) ID of the queried object.

Top ↑

Source Source

File: wp-includes/query.php


Top ↑

Changelog Changelog

Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.