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



get_the_author_id › WordPress Function

Since1.5.0
Deprecated2.8.0
get_the_author_id ( No parameters )
See:
Returns:
  • (string|int) The author's ID.
Defined at:
Codex:

Retrieve the ID of the author of the current post.



Source

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