W3cubDocs

/WordPress

apply_filters( ‘author_link’, string $link, int $author_id, string $author_nicename )

Filters the URL to the author’s page.

Parameters

$linkstring
The URL to the author’s page.
$author_idint
The author’s ID.
$author_nicenamestring
The author’s nice name.

Source

$link = apply_filters( 'author_link', $link, $author_id, $author_nicename );

Changelog

Version Description
2.1.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/author_link