WPDev.one
Core Function
View Source on Trac ↗

the_author()

the_author( mixed $deprecated = '', mixed $deprecated_echo = true )

Displays the name of the author of the current post.

Parameters 0 required

Name / Type Description
$deprecated
string

Deprecated.

$deprecated_echo
bool

Deprecated. Use get_the_author(). Echo the string or return it.

Return Value

(string)
The author's display name, from get_the_author().

Function Information

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