WordPress at a glance
function is not described

the_author_ID() WP 0.71

Deprecated in 2.8.0. It is no longer supported and can be removed in future releases. Use the_author_meta() instead.

Display the ID of the author of the current post.

  • See: the_author_meta()

No Hooks.

Return

Nothing (null).

Usage

the_author_ID();

Code of the author ID: wp-includes/deprecated.php WP 5.2.2

<?php
function the_author_ID() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'ID\')' );
	the_author_meta('ID');
}