Filters the display name of the current post's author.
$display_namestringwp-includes/author-template.php:38get_the_author() * 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 : '' );} /** * Displays the name of the author of the current post. * * The behavior of this function is based off of old functionality predatingIntroduced in 2.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.