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



get_the_author_id › WordPress Function

Desde1.5.0
Obsoleto2.8.0
get_the_author_id ( Sem parâmetros )
Ver:
Retorna:
  • (string|int) The author's ID.
Definido em:
Codex:

Retrieve the ID of the author of the current post.



Fonte

function get_the_author_ID() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'ID\')' );
	return get_the_author_meta('ID');
}