Filters the display name of the current post’s author.
$display_namestring
return apply_filters( 'the_author', is_object( $authordata ) ? $authordata->display_name : '' );
| Version | Description |
|---|---|
| 2.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_author