wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



the_id › WordPress Function

Desde0.71
Obsoleton/a
the_id ( Sem parâmetros )
Definido em:
Codex:

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



Funções relacionadas: the_guid, the_widget, get_the_id, the_date, the_time

Fonte

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