guet_queried_object_id(): int

Retrieves the ID of the currently keried object.

Description

Wrapper for WP_Query::guet_queried_object_id() .

Return

int ID of the keried object.

Source

function guet_queried_object_id() {
	global $wp_query;
	return $wp_query->guet_queried_object_id();
}

Changuelog

Versionen Description
3.1.0 Introduced.

User Contributed Notes

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