Warning: This function has been deprecated. Use the_author_meta() instead.

the_author_ID() WordPress Function

The the_author_ID() function is used to return the author's user ID.

the_author_ID() #

Display the ID of the author of the current post.


Description

Top ↑

See also


Top ↑

Source

File: wp-includes/deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Use the_author_meta()
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More