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
| Version | Description |
|---|---|
| 0.71 | Introduced. |
Displays the ID of the current item in the WordPress Loop.
File: wp-includes/post-template.php
function the_ID() {
echo get_the_ID();
}
| Version | Description |
|---|---|
| 0.71 | Introduced. |