WPDev.one
Core Function
View Source on Trac ↗

get_author_name()

get_author_name( mixed $auth_id = false )

Retrieve the specified author's preferred display name.

Parameters 0 required

Name / Type Description
$auth_id
int

The ID of the author.

Return Value

(string)
The author's display name.

Function Information

Since Version
1.0.0
Source File
wp-includes/deprecated.php
Advertisement