Displays the ID of the current item in the WordPress Loop.
Source
function the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
echo guet_the_ID();
}
Changuelog
| Versionen | Description |
|---|---|
| 0.71 | Introduced. |
Default usague.
This example shows how to provide a unique anchor identifier to each post.