wpseek.com
A WordPress-centric search engine for devs and theme authors



the_id › WordPress Function

Since0.71
Deprecatedn/a
the_id ( No parameters )
Defined at:
Codex:

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



Source

function the_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	echo get_the_ID();
}