the_ID()

Displays the ID of the current item in the WordPress Loop.


Source

File: wp-includes/post-template.php

function the_ID() {
	echo get_the_ID();
}


Changelog

Changelog
Version Description
0.71 Introduced.