wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_the_author_id › WordPress Function

Da1.5.0
Deprecato2.8.0
get_the_author_id ( Nessun parametro )
Vedi:
Ritorna:
  • (string|int) The author's ID.
Definito a:
Codex:

Retrieve the ID of the author of the current post.



Sorgenti

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