Retrieve the specified author’s preferred display name.
Description
See also
Parameters
$auth_id
intoptional- The ID of the author.
Default:
false
Source
function get_author_name( $auth_id = false ) {
_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'display_name\')' );
return get_the_author_meta('display_name', $auth_id);
}
Changelog
Version | Description |
---|---|
2.8.0 | Use get_the_author_meta() |
1.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.