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.
Source
Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |