WPDev.one
Core Function
View Source on Trac ↗

get_the_author()

get_the_author( mixed $deprecated = '' )

Retrieves the author of the current post.

Parameters 0 required

Name / Type Description
$deprecated
string

Deprecated.

Return Value

(string)
The author's display name, empty string if unknown.

Function Information

Since Version
1.5.0
Source File
wp-includes/author-template.php
Advertisement