wp-includes/author-template.php:24Retrieves the author of the current post.
$deprecatedstringoptional''stringOne hook fires while get_the_author() runs, in this order:
Filters the display name of the current post's author.
function get_the_author( $deprecated = '' ) { global $authordata; if ( ! empty( $deprecated ) ) { _deprecated_argument( __FUNCTION__, '2.1.0' ); } /** * Filters the display name of the current post's author. * * @since 2.9.0 * * @param string $display_name The author's display name. */ return apply_filters( 'the_author', is_object( $authordata ) ? $authordata->display_name : '' );}Introduced in 1.5.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/author-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.