the_ID()
Display the ID of the current item in the WordPress Loop.
Source Source
File: wp-includes/post-template.php
16 17 18 |
function the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid echo get_the_ID(); } |
View on Trac
Changelog Changelog
Version | Description |
---|---|
0.71 | Introduced. |