the_author_link WordPress Filter Hook

The the_author_link hook is used to display a link to the author's page. This hook is used by default in the author bio section of the WordPress default theme.

apply_filters( 'the_author_link', string $link, string $author_url, WP_User $authordata ) #

Filters the author URL link HTML.


Parameters

$link

(string)The default rendered author HTML link.

$author_url

(string)Author's URL.

$authordata

(WP_User)Author user data.


Top ↑

Source

File: wp-includes/author-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
6.0.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.