the_author WordPress Filter Hook

The 'the_author' WordPress hook is used to display the author of a post. This hook can be used in conjunction with the 'the_author_meta' hook to display additional information about the author.

apply_filters( 'the_author', string|null $display_name ) #

Filters the display name of the current post’s author.


Parameters

$display_name

(string|null)The author's display name.


Top ↑

Source

File: wp-includes/author-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.